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.

Search found 1 match

by wikked
Sat May 24, 2014 4:06 pm
Forum: Scripting Help
Topic: Rand and if's
Replies: 2
Views: 4483

Rand and if's

I'm new to TCL, and I need a lil help with rand and if's. proc fight_kick { nick host hand chan text } { set $rfu rand(1,6) if { $rfu == 1 } { putmsg $chan "!fu" } if { $rfu == 2 } { putmsg $chan "!fd" } if { $rfu == 3 } { putmsg $chan "!fg" } if { $rfu == 4 } { putmsg ...