This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post . Click the X in the top right-corner of this box to dismiss this message.
Old posts that have not been replied to for several years.
CrazyCat
Revered One
Posts: 1306 Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:
Post
by CrazyCat » Tue Feb 12, 2002 7:57 am
hi here.
I've a little script which act after someone enters a channel.
bind join - "*" delay
proc delay { nick uhost handle chan } {
timer 5 [putserv "PRIVMSG $nick :hello, I'm late of 5 minutes"]
}
It's a verification script for me, so it's really simple.
But I get the message immediatly after entering the channel... any idea?
Petersen
Owner
Posts: 685 Joined: Thu Sep 27, 2001 8:00 pm
Location: Blackpool, UK
Post
by Petersen » Tue Feb 12, 2002 11:28 am
because you're executing the putserv immediatly by encasing it in brackets.
timer 5 [putserv "PRIVMSG $nick :hello, I'm late of 5 minutes"] basically means 'execute the putserv, then execute whatever the putserv returns after 5 mins'. you want something like
timer 5 [list putserv "PRIVMSG $nick :hello, I'm late of 5 minutes"]
CrazyCat
Revered One
Posts: 1306 Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:
Post
by CrazyCat » Tue Feb 12, 2002 12:19 pm
yes, it works
))
OK, now I won't have any trouble with epona' services...
If shayne accept my tcl, you'll understand soon