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 

req: simple mirc script to op bot on public msg

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Sun Aug 20, 2006 10:38 pm    Post subject: req: simple mirc script to op bot on public msg Reply with quote

Didn't know where else to post this. I'm looking for a simple mirc script that will 1) Trigger on the eggdrop bot's public msg to a channel 2) do a whois to verify that it's my bot 3) op the bot.

So, for example, the bot does:

need-op {putserv "PRIVMSG #mychan :\007op me or I shall go \002NI!\002"}

The script should do a whois and make sure the bot's netmask matches whatever.users.undernet.org

If it matches, op the bot so it'll shut up Razz

I don't use mirc, I don't use windoze.. I need the script for other ops in chan who do use mirc.

I have a script for ircII script language, but that doesn't help me much with the mirc'ers.. I've looked quite a bit for a pre-made script to do this, I would've thought there would be some, since mirc is so popular. But it seems short of *guessing* at half of mirc's script language, since it's not even well documented online, they apparently think everyone has access to mirc's built-in helpfiles, I'm at a loss.

Any help appreciated.
Back to top
View user's profile Send private message
demond
Revered One


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

PostPosted: Sun Aug 20, 2006 10:47 pm    Post subject: Reply with quote

I'm not mIRC scripter, but I bet you don't need /whois'ing for that; simply add the bot's hostmask at some userlevel and then use something like ON level:TEXT:magicword:#yourchan { mode $chan +o $nick }, I'm sure you can get it right after checking out mIRC's help pages
_________________
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
Alchera
Revered One


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

PostPosted: Mon Aug 21, 2006 1:35 am    Post subject: Reply with quote

This is definitely not a mIRC "scripting" forum. Posting to the mIRC Message Board might be a better idea. Smile
_________________
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
CtrlAltDel
Halfop


Joined: 02 Jun 2004
Posts: 49

PostPosted: Tue Aug 22, 2006 2:52 pm    Post subject: Reply with quote

Quote:
I need the script for other ops in chan who do use mirc.


have them type /aop bot's nick here # 2
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 -> Eggdrop 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