Thread: [Correct script] setudef
View Single Post
Old 27-11-2007, 14:59   #2 (permalink)
Erised
#a&a representative
 
Erised's Avatar
 
Join Date: Jun 2004
Location: 127.0.0.1
Age: 20
Posts: 173
Rep Power: 0
Erised is an unknown quantity at this point
Send a message via MSN to Erised Send a message via Yahoo to Erised
Default

Din start se observa ca in lipseste o "}" la sfarsit, cea care inchide procesul.
Second, ultimul if: ai pus conditie, ai deschis si nu ai facut nimic
Anyway, eroare iti da de la ultima acolada, asa ca pune-o si vezi

Code:
setudef flag trivia
bind join - * trivia
proc trivia {nick uhost hand chan text} {
global botnick tgchan trivia
if {($text == "") || ([regexp -nocase "all" $text]) || ([regexp -nocase "Resident" $text])} {
if {(([lsearch -exact [string tolower $tgchan] [string tolower $chan]] != -1) || ($tgchan == "*"))} {
if {[string match "*+trivia*" [channel info $chan]]} {
}
}
}
}
__________________
Best regards,
Erised
Erised is offline   Reply With Quote