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.

OP loop

Old posts that have not been replied to for several years.
Locked
D
DaxAra

OP loop

Post by DaxAra »

hi,

i've been trying to figure out how to make a script for my bot that does a loop as long as it has no op. whenn so it should put say something to me.

can anyone help me with the loop and how to detect if the bot has ops or not?

thanx!
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

The easiet way you can do it, is without tcls itself with the bots internal need-op command.

See the sample eggdrop.conf file and read about 'need-op' in it.
If you want the bot to message you with a loop and random timers when it doesn't have ops, you can use this.

In DCC partyline with the bot type:

Code: Select all

.chanset <#chan> need-op putserv "PRIVMSG <yournickhere>  :<Your message here>"

I have a similar kind of script which I made.
Though it doesn't message the owner.

You can check it out.
http://www.egghelp.org/cgi-bin/tcl_arch ... oad&id=974
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
D
DaxAra

Post by DaxAra »

thanx
Locked