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 

Check /raw command then change setting?

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
cache
Master


Joined: 10 Jan 2006
Posts: 306
Location: Mass

PostPosted: Mon Mar 06, 2006 7:26 pm    Post subject: Check /raw command then change setting? Reply with quote

I'm trying to make my bot do something on join of a channel

Once it joins the room I need the bot to do this:
/raw /mask
Then server will say something like this:
<#Channel> IP Mask is OFF
or
<#Channel> IP Mask is ON

Now... If it says it replies back "IP Mask is OFF" I want it to say:
/raw /maskon

If it says "IP Mask is ON" I want it to do nothing...

Help anyone? Cool
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Mon Mar 06, 2006 9:45 pm    Post subject: Reply with quote

Are you referring to the really annoying "/mode +/- x"?
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
cache
Master


Joined: 10 Jan 2006
Posts: 306
Location: Mass

PostPosted: Mon Mar 06, 2006 9:49 pm    Post subject: Reply with quote

No, I only made a sample up there to explain something then i can change it...
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Mon Mar 06, 2006 10:56 pm    Post subject: Reply with quote

1. bind to JOIN and check if the joining nick is bot's nick
2. bind to RAW and issue your raw command; you'll have server's reply sent to your RAW handler proc - interpret it however you wish and then proceed further or not
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests 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