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 error

Old posts that have not been replied to for several years.
Locked
H
HardFace

Tcl error

Post by HardFace »

I'm a bit noob with eggdrop and Tcl scripts but i'm still getting errors with almost every script i load.
What kind a errors, well look at this?

<versuz> [10:50] Tcl error [pub_serialinform]: can't read "cmdchar_": no such variable

Always errors like this one: Tcl error 'error' : no such variable.

Maybe i have to install something first before i start adding Tcl scripts ( like a TCL program of something? )?

And i load all of my scripts with: Allscripts.tcl ( that DOES work ).
Allscripts makes my scripts that i add by ftp load more easy, so i only have to typ in dcc chat .+script script.tcl and it loads.
Maybe there is the problem i dont know but i STILL get errors and i have no idea what to do :s.
User avatar
arcane
Master
Posts: 280
Joined: Thu Jan 30, 2003 9:18 am
Location: Germany
Contact:

Post by arcane »

hm...
maybe you should read some tcl tutorial.
the error you mention occurs, when you try to use a variable ($variable) without setting it first (set variable value) or when you use a global var inside a proc without using the global keyword.
aVote page back online!
Check out the most popular voting script for eggdrop bots.

Join the metal tavern!
User avatar
Papillon
Owner
Posts: 724
Joined: Fri Feb 15, 2002 8:00 pm
Location: *.no

Post by Papillon »

what version of allscripts.tcl are you using?
make sure you have the newest one, you can find it here
Elen sila lúmenn' omentielvo
Locked