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.
General support and discussion of Eggdrop bots.
Robot42
Voice
Posts: 13 Joined: Fri Aug 25, 2006 8:07 pm
Post
by Robot42 » Sun Aug 27, 2006 10:47 am
Probably a noobish question but how do I load a tcl script to the bot?
gumbydammit
Master
Posts: 311 Joined: Thu Sep 05, 2002 4:52 pm
Location: Canada
Contact:
Post
by gumbydammit » Sun Aug 27, 2006 10:58 am
a.k.a. hellios
Robot42
Voice
Posts: 13 Joined: Fri Aug 25, 2006 8:07 pm
Post
by Robot42 » Sun Aug 27, 2006 11:12 am
Okay, I have added my script to the scripts directory. The script is called rr.tcl, so do I open up notepad and add "source scripts/rr.tcl" at the bottom of eggdrop.conf?
deadite66
Halfop
Posts: 74 Joined: Mon May 30, 2005 2:49 am
Location: Great Yarmouth, UK
Post
by deadite66 » Sun Aug 27, 2006 11:38 am
yes
<- tcl newb
Robot42
Voice
Posts: 13 Joined: Fri Aug 25, 2006 8:07 pm
Post
by Robot42 » Sun Aug 27, 2006 1:30 pm
Okay, I do that and then type in .rehash
It says that the command wasn't found. Why is this? source scripts/rr.tcl has been added to eggdrop.conf and rr.tcl is in the scripts folder.
deadite66
Halfop
Posts: 74 Joined: Mon May 30, 2005 2:49 am
Location: Great Yarmouth, UK
Post
by deadite66 » Sun Aug 27, 2006 2:42 pm
try .restart
<- tcl newb
Alchera
Revered One
Posts: 3344 Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:
Post
by Alchera » Sun Aug 27, 2006 8:34 pm
Robot42 wrote: Okay, I do that and then type in .rehash
It says that the command wasn't found. Why is this? source scripts/rr.tcl has been added to eggdrop.conf and rr.tcl is in the scripts folder.
The bot is running at this point and you issued .rehash command from within its partyline?
Add [SOLVED] to the thread title if your issue has been.
Search |
FAQ |
RTM
Robot42
Voice
Posts: 13 Joined: Fri Aug 25, 2006 8:07 pm
Post
by Robot42 » Sun Aug 27, 2006 9:05 pm
Okay, here's what I get when I use .rehash
[19:59:22] <Tyranitar> Rehashing.
[19:59:22] <Tyranitar> [17:59] Writing user file...
[19:59:22] <Tyranitar> [17:59] Writing channel file...
[19:59:22] <Tyranitar> [17:59] Rehashing ...
[19:59:22] <Tyranitar> [17:59] Listening at telnet port 30000 (all).
[19:59:22] <Tyranitar> [17:59] Userinfo TCL v1.07 loaded (URL BF GF IRL EMAIL DOB PHONE ICQ).
[19:59:22] <Tyranitar> [17:59] use '.help userinfo' for commands.
[19:59:22] <Tyranitar> [17:59] Userfile loaded, unpacking...
[20:00:01] <Tyranitar> [18:00] #pokenightmare (+trn) : [m/7 o/4 h/1 v/0 n/2 b/7 e/0 I/0]
I added another script in hoping that it would work, but that doesn't work either. When I type in !rr and !rules nothing pops up.
Alchera
Revered One
Posts: 3344 Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:
Post
by Alchera » Sun Aug 27, 2006 11:42 pm
That indicates that your tcl script is not being loaded indicating that you have not edited your bots conf file and added the following line and then saved it (on the shell):
# This is a good place to load scripts to use with your bot.
source scripts/rr.tcl
Add [SOLVED] to the thread title if your issue has been.
Search |
FAQ |
RTM
Robot42
Voice
Posts: 13 Joined: Fri Aug 25, 2006 8:07 pm
Post
by Robot42 » Mon Aug 28, 2006 4:17 pm
I just opened up eggdrop.conf on notepad and added it there. How would I do it on the shell?
Callisto
Halfop
Posts: 86 Joined: Sun Mar 13, 2005 11:04 am
Post
by Callisto » Mon Aug 28, 2006 4:25 pm
It pretty much depends what editors are loaded on your shell but the usual ones are pico nano vim. If you are not sure drop the shell admins an email, I think a lot of folks have their own favourites.
regards
Callisto
kash2k
Voice
Posts: 18 Joined: Fri Aug 25, 2006 10:45 pm
Location: India
Post
by kash2k » Thu Aug 31, 2006 10:07 pm
Edit your TCL file with pico rr.tcl and browse to the last line of the script.
Check for any putlog " ".
In case there is none add this line at the end of the script :-
putlog "RR TCL script Loaded"
then do a .rehash
If u get a message saying RR TCL script loaded in the partyline then ur script is loaded and there is some problem in the script.
If you do not see the message then re-edit your eggdrop.conf and delete the line and re - add it again