mIRC Homepage
Posted By: Gambit Remote nick access - 19/10/03 09:32 PM
OK. I realise this is probably all covered in the faqs, but I'm in a bit of a rush, and would appreciate a little help.

I'm an AOP in #tempus, my nick is Chrono. I have a friend, nick Krypten, and I want to give him limited remote access to my oppage.

I want him to be able to kick, set bans, and set +c on a channel by sending me specific private messages. I only want him to be able to do this while my nick is ChronoAway.

If someone could create something for me to this effect, that would be great, and it'd also be appreciated if you could quickly explain what each line does, and how (I'm not a complete idiot, so no need to be too detailed).

Thanks in advance, Chrono/Gambit
Posted By: LO_KEY Re: Remote nick access - 20/10/03 01:37 AM
on *:text:-com*:?: {
if ($me = ChronoAway) {
if ($me isop CHANNEL) {
if ($2 = kick) { kick CHANNEL $3- }
if ($2 = ban) { mode CHANNEL +b $3 }
if ($2 = +c) { mode CHANNEL +c }
}
}
}

usin this u would need to change all the CHANNEL instances to the channel u want this happening, he would msg u
-com kick nick reason
-com ban *!ident@address.com
-com +c
and u would do accordingly
***NOTE this does NOT make sure he isn't trying to ban/kick you
Posted By: LocutusofBorg Re: Remote nick access - 20/10/03 04:18 AM
First off, I'd make sure you get this cleared with the foudner/owner of the channel. Voices don't have kicking abilities for a reason, with what you propose you might as well make the guy an op. Second, I'd make damn sure he is not able to kick/ban any ops/voices either, instead of just making sure he won't do it to you.
Posted By: Aazn Re: Remote nick access - 20/10/03 10:39 AM
While he's online, type

/guser @COM <Friendname>

Then, put this in your remotes
Code:
on COM:TEXT:- *:?:{
if ($me == ChronoAway) {
if ($2 == kick) &amp;&amp; ($4 !== $null) { /kick #Tempus $2 $4- }
if ($2 == kick) &amp;&amp; ($4 == $null) { /kick #Tempus $2 Requested by $nick }
if ($2 == kb) &amp;&amp; ($4 !== $null) {
/mode #Tempus +bb $address($3,1) $3 $+ !*@*
/kick #Tempus $3 $4-
}
if ($2 == kb) &amp;&amp; ($4 == $Null) {
/mode #Tempus +bb $address($3,1) $3 $+ !*@*
/kick #Tempus $3 Requested by $nick
}
if ($2 == +c) { /mode #Tempus +c }
}
}



Then he just types - kb <nick> [reason] and they're gone :P

- Aazn
© mIRC Discussion Forums