Script troubles

From RacHelp

Jump to: navigation, search

This page needs more content, please add to it as you feel necessary.

Contents

[edit] When I restart my bot after adding a script, it says it can't find the script file

Did you enter the script filename and path correctly?

[edit] I loaded a script, and it comes up with an error about not being able to find a package

You're probably missing a library the script needs. It's most likely that the script requires a package provided by the standard TCL library

[edit] I loaded a script, but it won't respond to commands

Are you sure the script is actually loaded? Did you remember to add the line to the end of your configuration file for it? It's possible the script is at fault. If you think this is the case, you have three options:

[edit] I loaded a script, but it just keeps giving errors or garbled output

See above.

[edit] How do I install a script?

Refer to the Generic script installation instructions

[edit] See also

Generic script installation instructions

Racbot FAQ

TCL standard library

Basic TCL examples

Views
Personal tools