I got here little script and tcl says that missing close-bracket... But where??
proc pub:rauha {nick host hand chan arg aika} {
if {([![auth:check $hand]) || (![isop $nick $chan])} {return 0}
if {![isop "Center" $chan]} {
puthelp "PRIVMSG Kultsi :10,1Sori hanii, mut mä en voi!!"
return 0
}
puthelp "PRIVMSG #Kompassi :8,1Kultsi rauhoitti kaaos tilan, varatoimet yllä!"
putserv "MODE $chan -m"
set kaaos "off"
timerkaaos $aika perustila
}
Here's the code. And the other one says like last one:
proc pub:perustila {nick host hand chan arg} {
if {([![auth:check $hand]) || (![isop $nick $chan])} {return 0}
if {![isop "Center" $chan]} {
puthelp "PRIVMSG #Kompassi :10,1Sori hanii, mut mä en voi!!"
return 0
}
puthelp "PRIVMSG #Kompassi :9,1Vaara on ohi, perustila"
puthelp "PRIVMSG Q :chanflags $chan +apb"
set kaaospotku "off"
}
Well what is wrong??