Ban on keypress. Any Ideas? - 29/11/03 12:24 PM
Hi there,
I'm quite new @ mIRC Scripting, so I would appreciate some help from the experts. By looking in some tutorials around the net (Including mirc.com :tongue:), I've managed to create a clone scan remote. Which actually works!!
The code is:
and the result on the #channel window is sth like that:
===================================================
_ _ _ _ _ _ _ _ _CLONE DETECTED_ _ _ _ _ _ _ _ _
---------------------------------------------------
Nicks:
Nick1
Nick2
---------------------------------------------------
Address: *!*@a.cloning.host.mask.com
Total clones: 2
---------------------------------------------------
[F10] - Warn user
[F11] - Kick/Ban clones
===================================================
My problem is how to write the code for the warn and kick/ban events, pressing F10 or F11 accordingly...
Any ideas are much appreciated!
P.S.: I'm really sorry if there's a similar topic. I tried a couple of searches using any keywords I thought it could be useful but I couldn't find any related ones... If there is one, please excuse my post and mention it to me. Cheers!
I'm quite new @ mIRC Scripting, so I would appreciate some help from the experts. By looking in some tutorials around the net (Including mirc.com :tongue:), I've managed to create a clone scan remote. Which actually works!!
The code is:
Code:
on !@*:JOIN:#channel: { IF ($ialchan($wildsite,$chan,0) > 1) { echo -a =================================================== echo -a 0_ _ _ _ _ _ _ _ _1CLONE DETECTED0_ _ _ _ _ _ _ _ _ echo -a --------------------------------------------------- echo -a Nicks: var %tmp = 1 var %totalclone = $ialchan($wildsite,$chan,0) : start IF (%tmp > $ialchan($wildsite,$chan,0)) { goto end } echo -a $ialchan($wildsite,$chan,%tmp).nick inc %tmp goto start :end echo -a --------------------------------------------------- echo -a Address: $wildsite echo -a Total clones: %totalclone echo -a --------------------------------------------------- echo -a [F10] - Warn user echo -a [F11] - Kick/Ban clones echo -a =================================================== } }
and the result on the #channel window is sth like that:
===================================================
_ _ _ _ _ _ _ _ _CLONE DETECTED_ _ _ _ _ _ _ _ _
---------------------------------------------------
Nicks:
Nick1
Nick2
---------------------------------------------------
Address: *!*@a.cloning.host.mask.com
Total clones: 2
---------------------------------------------------
[F10] - Warn user
[F11] - Kick/Ban clones
===================================================
My problem is how to write the code for the warn and kick/ban events, pressing F10 or F11 accordingly...
Any ideas are much appreciated!
P.S.: I'm really sorry if there's a similar topic. I tried a couple of searches using any keywords I thought it could be useful but I couldn't find any related ones... If there is one, please excuse my post and mention it to me. Cheers!