Yeah, NOAA used to be a lot more accomodating for searching. Used to use it on old perl bots (infobot) that I used to run prior to eggdrop. There was a script someone posted here awhile back, basically they could not [exec] on their Windrop so they wrote a PHP script to do the [exec] for them and re...
Hmm.. honestly, not really. There is a 'variable timeout' for setting it higher/lower, but this isn't really what you want I'm sure. What happens if you try to ping wunderground.com from the shell (if available)? And what happens if you ping the IP (64.243.174.104)? It's possible that maybe DNS look...
Newest versions of my scripts are always available @ incith.com if they are not yet available on the Tcl archive . You can search egghelp Tcl archives from IRC now. :-P (made with permission from Slennox). (00:17:22) (@incith) !egghelp google (00:17:24) <@visitant> #953 - ask v-; #691 - Completely U...
Fixed to be more readable, thanks. The above hasn't really changed at all, it does really work quite well at allowing only 1 bot to respond to a trigger at a time. Kind of like giving yourself "backup" bots, so if one goes down, you can still have your !triggers working on another bot.
Er well I guess I should have posted a solution for you. Yes, perl is one choice, although it will not be cross platform. In Tcl..: % set confd [open eggdrop/visitant.conf] file3 % while {![eof $confd]} { append conf [gets $confd] } % regexp "{" $conf 1 % regexp -all "{" $conf 12...
I started scripting by reading other scripts, and using them as kind of template when writing my first own scripts... Whenever I needed something I didnt know how to do, I looked in scripts I had, and tried to understand it...it is imho the best way of learning TCL, but it takes long ;D This is a r...
Ah I understand, it's counting the number of line-matches the way I see it, not character matches. } is on 12 lines whereas { is on 11 lines. proc evnt:init_server {type} { $ grep '{' visitant.conf set altnick "${nick}-??" set username "${nick}" set botnet-nick "${nick}"...
Oh, well, this is how I've been doing it in :weather is all, with %w0-9% and etc. I figured that's where the idea came from So I was just wondering why you had decided to use 2 %'s, but it's all good, just being curious.