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.

a tcl script to make +o users identify when they join channe

Old posts that have not been replied to for several years.
K
KrE80r
Voice
Posts: 18
Joined: Thu Jun 05, 2003 10:34 am

Post by KrE80r »

proc tgstart {nick uhost handle arg} {
if {[passwdok $handle $arg]} {
global tgplaying tgstreak tgchan tgerrremindtime tgerrremindtimer tgmissed
if {$tgplaying==0} {
tggamemsg "[tgcolstart]Trivia game started by $nick!"
tgnextq
set tgplaying 1
set tgstreak 0
set tgmissed 0
set tgerrremindtimer [timer $tgerrremindtime tgerrremind]
}
}
}

here it is man like this its working i removed this line to make it work:
proc tgstart {nick host hand chan text} {
global tgplaying tgstreak tgchan tgerrremindtime tgerrremindtimer tgmissed
if {[strlwr $tgchan]==[strlwr $chan]} {


i removed the last line
does this affect it ???
User avatar
Papillon
Owner
Posts: 724
Joined: Fri Feb 15, 2002 8:00 pm
Location: *.no

Post by Papillon »

if {[strlwr $tgchan]==[strlwr $chan]} {
you did right in removing this, and it was probably what caused the error, if you get the same error again, restart your bot
Elen sila lúmenn' omentielvo
K
KrE80r
Voice
Posts: 18
Joined: Thu Jun 05, 2003 10:34 am

Post by KrE80r »

thx alot all of u guys for ur help yeha it works fine nowz :)
K
KrE80r
Voice
Posts: 18
Joined: Thu Jun 05, 2003 10:34 am

Post by KrE80r »

hey what about this error i get
<BoT> [04:44] Tcl error in script for 'timer746':
<Bot> [04:44] random limit must be greater than zero

got any idea??
Locked