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.

Help with script to say all nicks from chan

Help for those learning Tcl or writing their own scripts.
u
unb0rn
Voice
Posts: 26
Joined: Mon Sep 08, 2008 8:14 am

Post by unb0rn »

I have no idea what i'm doing wrong, but i can't get it to work properly with the "flood protection" ;/
i have to use it like this, otherwise it won't work more then once..
set vFlood 0
utimer 5
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

Variables are case sensitive...
Change this:

Code: Select all

utimer 5 [list set vflood 0]
Into this:

Code: Select all

utimer 5 [list set vFlood 0]
And everything should work just fine (assuming you are using arfer's code).

Also disregard speechles' talk 'bout global namespaces. Timers are always executed in the global namespace, and vFlood was linked to globalspace using the global command in that code.
NML_375
Post Reply