mIRC Home    About    Download    Register    News    Help

Print Thread
#9605 04/02/03 10:52 AM
Joined: Dec 2002
Posts: 1,237
T
Hoopy frood
OP Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 1,237
Alrighty I ran into a problem with something yet again...

Since im attempting to make a mIRC bot my question is:

When this bot is kicked from a channel or deoped, how would you do a simple command to make it say via message to the channel that if its deopped to op it until its opped then when its opped it stops repeating that? Same thing with the joining...

Im totally stumped so any help would be appreciated

#9606 04/02/03 11:09 AM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
on *:JOIN:#channel:if ( $nick == $me ) .timerwop 0 60 msg # Please Op me!
on *:DEOP:#channel:if ( $opnick == $me ) .timerwop 0 60 chops # Please Op me!
on *:OP:#channel:if ( $opnick == $me ) .timerwop off
on *:PART:#channel:if ( $nick == $me ) .timerwop off

#9607 04/02/03 12:25 PM
Joined: Dec 2002
Posts: 143
A
Vogon poet
Offline
Vogon poet
A
Joined: Dec 2002
Posts: 143
you'd probably want on QUIT/KICK/...etc... too


Aubs.
cool

#9608 04/02/03 09:41 PM
Joined: Dec 2002
Posts: 1,237
T
Hoopy frood
OP Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 1,237
Thanks collective works like a dream...Im assuming that that works the same way for kicks and such right?

#9609 04/02/03 11:36 PM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
You'll need a ".timerwop off" for on KICK, and I hope you spotted the typo in the on DEOP (sorry about that)...

#9610 05/02/03 12:33 AM
Joined: Dec 2002
Posts: 1,237
T
Hoopy frood
OP Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 1,237
Yeah i spotted the typo and fixed that ....thanks again collective works great!


Link Copied to Clipboard