mIRC Homepage
Posted By: The_Game Stumped yet again! - 04/02/03 10:52 AM
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
Posted By: Collective Re: Stumped yet again! - 04/02/03 11:09 AM
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
Posted By: Aubs Re: Stumped yet again! - 04/02/03 12:25 PM
you'd probably want on QUIT/KICK/...etc... too
Posted By: The_Game Re: Stumped yet again! - 04/02/03 09:41 PM
Thanks collective works like a dream...Im assuming that that works the same way for kicks and such right?
Posted By: Collective Re: Stumped yet again! - 04/02/03 11:36 PM
You'll need a ".timerwop off" for on KICK, and I hope you spotted the typo in the on DEOP (sorry about that)...
Posted By: The_Game Re: Stumped yet again! - 05/02/03 12:33 AM
Yeah i spotted the typo and fixed that ....thanks again collective works great!
© mIRC Discussion Forums