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.

Missing Close Brace.

Help for those learning Tcl or writing their own scripts.
Post Reply
d
diMension
Voice
Posts: 11
Joined: Fri Mar 23, 2007 10:52 pm

Missing Close Brace.

Post by diMension »

Code: Select all

bind msgm - * relay:msg

proc relay:msg {nick uhost hand arg} {
 if {$nick == "Global"} {
 return 1
 } elseif {$arg == "The following channel events were found"} {
 return 1
 } elseif {$arg == "Nothing matched the criteria of your search" {
 return 1
  } else {
 putserv "privmsg #dimbot :Private Message from $nick ($uhost): $arg"
}
ERROR : Missing Close Brace - Possible Unbalanced Brace In Comment while executing
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

Code: Select all

} elseif {$arg == "Nothing matched the criteria of your search" {
Do you see anything wrong in this line?
d
diMension
Voice
Posts: 11
Joined: Fri Mar 23, 2007 10:52 pm

Post by diMension »

gracias.
Post Reply