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.
Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
cache
Master
Posts: 306 Joined: Tue Jan 10, 2006 4:59 am
Location: Mass
Post
by cache » Sun Jan 29, 2006 8:41 pm
I've done a search for an option perform on connect but can't find anything - unless it's called something else lol..
I need a script to perform a MSG command on connect/ join of room.
Once it connects it'll /msg me something.
Thanks.
Sir_Fz
Revered One
Posts: 3794 Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:
Post
by Sir_Fz » Sun Jan 29, 2006 9:04 pm
From eggdrop.conf:
Code: Select all
# This is a Tcl script to be run immediately after connecting to a server.
bind evnt - init-server evnt:init_server
proc evnt:init_server {type} {
global botnick
putquick "MODE $botnick +i-ws"
}
Add whatever you want in that proc.
cache
Master
Posts: 306 Joined: Tue Jan 10, 2006 4:59 am
Location: Mass
Post
by cache » Sun Jan 29, 2006 9:20 pm
Is there anyone to make it do it after it joins room? seems what I want to do won't work untill bot joins room first.
demond
Revered One
Posts: 3073 Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:
Post
by demond » Mon Jan 30, 2006 12:54 am
Code: Select all
bind join - {#room %} foo
proc foo {n args} {
if [isbotnick $n] {putserv "privmsg goober :hi there"}
}
connection, sharing, dcc problems? click
<here>
before asking for scripting help, read
<this>
use
cache
Master
Posts: 306 Joined: Tue Jan 10, 2006 4:59 am
Location: Mass
Post
by cache » Tue Jan 31, 2006 2:22 pm
Hey demond - that script works but only if the bot is in 1 room, can I add multiple channels to it so it works in each room it joins? Or at least get it to work when bot is in more then 1 room?
Thanks
CrazyEgg
Halfop
Posts: 47 Joined: Thu Jul 28, 2005 4:02 pm
Post
by CrazyEgg » Tue Jan 31, 2006 3:59 pm
1st you say perform:
sir_fz answer for that
2nd you ask to do something and demond told you.
both answers require to read about tcl commands on /doc folder.
i propose something else:
find out the dcc or telnet command .+chan and try to find what makes.
after that ask something but be specificate.
cache
Master
Posts: 306 Joined: Tue Jan 10, 2006 4:59 am
Location: Mass
Post
by cache » Tue Jan 31, 2006 4:09 pm
Yes I know that, I did have to edit demonds to get it to work as I read the help doc, but im stuck at trying to get it to work in all rooms - for now it works when in 1 room.
demond
Revered One
Posts: 3073 Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:
Post
by demond » Tue Jan 31, 2006 11:32 pm
replace #room with %
connection, sharing, dcc problems? click
<here>
before asking for scripting help, read
<this>
use
cache
Master
Posts: 306 Joined: Tue Jan 10, 2006 4:59 am
Location: Mass
Post
by cache » Wed Feb 01, 2006 12:49 am
I tried it all these ways before bugging you again lol
Code: Select all
bind join - {% %} foo
bind join - {%} foo
bind join - {%%} foo
bind join - {% } foo
bind join - { %} foo
Tried all those ways
There isn't any errors in putty.
cache
Master
Posts: 306 Joined: Tue Jan 10, 2006 4:59 am
Location: Mass
Post
by cache » Thu Feb 02, 2006 2:53 am
Hey demond, do you have anything else I can try?
demond
Revered One
Posts: 3073 Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:
Post
by demond » Thu Feb 02, 2006 2:57 am
nope
connection, sharing, dcc problems? click
<here>
before asking for scripting help, read
<this>
use
cache
Master
Posts: 306 Joined: Tue Jan 10, 2006 4:59 am
Location: Mass
Post
by cache » Thu Feb 02, 2006 3:08 am
Ok thanks for trying to help
Alchera
Revered One
Posts: 3344 Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:
Post
by Alchera » Thu Feb 02, 2006 10:01 am
Add [SOLVED] to the thread title if your issue has been.
Search |
FAQ |
RTM
cache
Master
Posts: 306 Joined: Tue Jan 10, 2006 4:59 am
Location: Mass
Post
by cache » Thu Feb 02, 2006 12:32 pm
Thanks, that worked
demond
Revered One
Posts: 3073 Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:
Post
by demond » Thu Feb 02, 2006 11:49 pm
connection, sharing, dcc problems? click
<here>
before asking for scripting help, read
<this>
use