egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

can't get scripts to work (SOLVED)

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
Kman1
Voice


Joined: 26 Jun 2013
Posts: 7
Location: on earth in a random location in space

PostPosted: Fri Jul 05, 2013 12:23 am    Post subject: can't get scripts to work (SOLVED) Reply with quote

i am having trouble getting scripts to work. i changed the settings to make sure it works. it loads fine. i enable the bot and the script does nothing. what am i doing wrong??

Last edited by Kman1 on Fri Jul 05, 2013 5:02 pm; edited 1 time in total
Back to top
View user's profile Send private message
caesar
Mint Rubber


Joined: 14 Oct 2001
Posts: 3741
Location: Mint Factory

PostPosted: Fri Jul 05, 2013 1:08 am    Post subject: Reply with quote

have you placed file in the scripts folder, edited eggdrop.conf (or whatever name you gave to the configuration file) and at the end added source scripts/<your_file.tcl> then rehashed (.rehash on DCC Chat/Telnet with the bot)?

How do you know the scripts are loaded? Do they require any special flags that you may not have?
_________________
Once the game is over, the king and the pawn go back in the same box.
Back to top
View user's profile Send private message
Kman1
Voice


Joined: 26 Jun 2013
Posts: 7
Location: on earth in a random location in space

PostPosted: Fri Jul 05, 2013 3:51 pm    Post subject: Reply with quote

i know it loads because i use command prompt to load it.. cd "C:/program files (x86)/eggdrop" then i type eggdrop.exe with then leaves all the messages up and i see that the script succesfuly loads.

i have no idea what you mean "and at the end added source scripts/<your_file.tcl>" treat me like i am stupid please

also i just shoved the script into the config


[15:59:39] <Kman1> .rehash
[15:59:39] <Baconator> [15:59:39] #Kman1# rehash
[15:59:40] <Baconator> Rehashing.
[15:59:40] <Baconator> [15:59:39] Writing user file...
[15:59:40] <Baconator> [15:59:39] Writing channel file...
[15:59:40] <Baconator> [15:59:39] Rehashing ...
[15:59:40] <Baconator> [15:59:39] Identd Already Disabled. (Tried to Close)
[15:59:40] <Baconator> [15:59:39] Writing channel file...
[15:59:40] <Baconator> [15:59:39] Listening at telnet port 3864 (all).
[15:59:40] <Baconator> [15:59:39] Loading dccwhois.tcl...
[15:59:40] <Baconator> [15:59:39] Loaded dccwhois.tcl
[15:59:40] <Baconator> [15:59:39] Userinfo TCL v1.07 loaded (URL BF GF IRL EMAIL DOB PHONE ICQ).
[15:59:40] <Baconator> [15:59:39] use '.help userinfo' for commands.
[15:59:40] <Baconator> [15:59:39] Identd: I don't know why you're using winident.tcl on your system, but it probably won't work on anything but Windows.
[15:59:40] <Baconator> [15:59:39] winident.tcl v1.2 - by FireEgl@EFNet <FireEgl@Windrop.cjb.net> - Loaded.
[15:59:40] <Baconator> [15:59:39] *Auto Welcome Script* by *Rana Usman* (www.ranausman.tk) has been successfully LOADED
[15:59:40] <Baconator> [15:59:39] Writing channel file...
[15:59:40] <Baconator> [15:59:39] Userfile loaded, unpacking...
[16:00:00] <Baconator> [16:00:00] Writing user file...
[16:00:00] <Baconator> [16:00:00] Writing channel file...

it does nothing when someone joins the channel. i even set up what should be said when people join and it does nothing
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Fri Jul 05, 2013 4:08 pm    Post subject: Reply with quote

Kman1 wrote:

...
i have no idea what you mean "and at the end added source scripts/<your_file.tcl>" treat me like i am stupid please

also i just shoved the script into the config


I suspect that you are saying just what caesar said, when you "just shoved the script into the config". caesar just stated it better. Smile

Here is something to read, that explains it:
http://www.egghelp.org/enhance.htm#tclscripts


Further, caesar said:
Quote:

Do they require any special flags that you may not have?


Expanding on that:
Most scripts have comments, usually at the beginning.
Some are extensive.
Some are instructions on how to set up and use the script.

Read them - all - carefully.

What you could be encountering is something so simple as lacking a flag, as previously mentioned, or perhaps the script has an "On/Off" (setudef) switch that you must use via a .chanset command.

These things will be explained in the directions.

If you name the script here, and where you got it, you might get very, very lucky, and somebody might actually look at it with you.

I hope this helps.
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Fri Jul 05, 2013 4:19 pm    Post subject: Reply with quote

I think you edited your post at the same time as I was replying. There is more info there now.


Ok - I think I found the script you are using, in the TCL Archive here.

Is that it listed here? :
http://www.egghelp.org/tclhtml/3478-4-0-0-1-Rana-Usman.htm
as Version 2 , dated 15/12/2007 ?

I haven't examined the whole thing, but the configuring of it is not very involved.

If you wish, copy-n-paste the whole thing - as-is , just as you are trying to use it now, here:
http://paste.tclhelp.net/
then post the link back here. Perhaps somebody will be able to spot the problem, and comment for you.
Back to top
View user's profile Send private message
Kman1
Voice


Joined: 26 Jun 2013
Posts: 7
Location: on earth in a random location in space

PostPosted: Fri Jul 05, 2013 4:52 pm    Post subject: Reply with quote

willyw wrote:
I think you edited your post at the same time as I was replying. There is more info there now.


Ok - I think I found the script you are using, in the TCL Archive here.

Is that it listed here? :
http://www.egghelp.org/tclhtml/3478-4-0-0-1-Rana-Usman.htm
as Version 2 , dated 15/12/2007 ?

I haven't examined the whole thing, but the configuring of it is not very involved.

If you wish, copy-n-paste the whole thing - as-is , just as you are trying to use it now, here:
http://paste.tclhelp.net/
then post the link back here. Perhaps somebody will be able to spot the problem, and comment for you.


yes it is listed
Auto Welcome
Greet Scripts 2 15/12/2007
Back to top
View user's profile Send private message
Kman1
Voice


Joined: 26 Jun 2013
Posts: 7
Location: on earth in a random location in space

PostPosted: Fri Jul 05, 2013 5:00 pm    Post subject: Reply with quote

just got it working
set urchan "#channel" was not set correctly. maybe i should look in the config more closely next time
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Fri Jul 05, 2013 5:02 pm    Post subject: Reply with quote

Kman1 wrote:
just got it working


Great!


Quote:

... maybe i should look in the config more closely next time


Wink
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber