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.

invalid command name?!

Old posts that have not been replied to for several years.
Locked
User avatar
ReaLz
Op
Posts: 121
Joined: Sat Oct 19, 2002 5:33 am
Location: Athens, Greece

invalid command name?!

Post by ReaLz »

I have this in a TCL script of mine:
proc caps_ctcp {nick host hand who what text} {
if {[ischannel $who]} {
caps_pubm $nick $host $hand $who $text
}
return 0
}

and worked fine before the update to 1.6.10 and look what is says now:
[23:20] Tcl error [caps_ctcp]: invalid command name "ischannel"

What's wrong?!
«A fantastic spaghetti is a spaghetti that does not exist»
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

ischannel is not a valud command, as stated.

YOu can safly change the word "ischannel" to "validchan" and this script, should then function normaly.
Locked