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]} {
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