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.

Check /raw command then change setting?

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
c
cache
Master
Posts: 306
Joined: Tue Jan 10, 2006 4:59 am
Location: Mass

Check /raw command then change setting?

Post by cache »

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? 8)
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Are you referring to the really annoying "/mode +/- x"?
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
c
cache
Master
Posts: 306
Joined: Tue Jan 10, 2006 4:59 am
Location: Mass

Post by cache »

No, I only made a sample up there to explain something then i can change it...
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

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: Select all

 tag when posting logs, code
Post Reply