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.

Tcl Noob Question

Old posts that have not been replied to for several years.
Locked
K
Kry0420

Post by Kry0420 »

Eggdrop 1.6.9 --
proc nt:tgt {nick host hand chan text} {
i don't know why but I get an error every time I try to load the script up, i get the error on that line, which is almost the beginning of the script, the error is:
TCL error in file 'Slave{-}':
wrong # args: should be "proc name args body"

I don't understand why i would get this error seeing as i used the same setup that the the tcl.doc file uses as an example...any ideas?
M
Mordred

Post by Mordred »

It looks like you've got the proc syntax wrong somewhere.. makes sure it's as follows:

proc procname {vars} {
script
}

Your post doesnt seem to include the full proc so I cant comment on where it's not liking it..
K
Kry0420

Post by Kry0420 »

Hey, thanks...Got it figured out..
appreciate the help!
K
Kry0420

Post by Kry0420 »

Thanks, i got it figured out :smile:
appreciat the help.
Locked