mIRC Home    About    Download    Register    News    Help

Print Thread
#11909 18/02/03 03:17 PM
P
Paula12
Paula12
P
Hi,

I am trying to write a mass kill script, but not having much luck.

What I want, is to have the clone alert from Operserv echo to a window called ‘Clones’, once the script receives the clone alert from Operserv, it does a /who on the host address, and echo’s the results in the window ‘clones’. Then it will give me the options F1 to masskill clones or F5 to akill them.

This is the clone alert from OperServ -> OperServ: 10 Possible Clones from [email]Bule_Asli@ACA58CE2.ipt.aol.com.[/email]

Can anyone help with me or give me some hints?

Thankyou

Paula

#11910 18/02/03 03:33 PM
Joined: Dec 2002
Posts: 817
P
Hoopy frood
Offline
Hoopy frood
P
Joined: Dec 2002
Posts: 817
I'm not a scripter, but I think you may need to post what you've scripted so far so that someone else could help you with it. You might want to search this scripting site to see if there are any scripts on there that do what you're asking. smile

#11911 18/02/03 03:57 PM
P
Paula12
Paula12
P
Hiya,
Thankyou for your reply. wink

Well this is what I have so far, I think it work, I have not tried it, so *shrug*

#clones off
on ^1:SNOTICE:* Global -- From OperServ*Possible clones*From*: { echo @clones Possible Clones from $10 | mk $10 | halt }
#clones end


alias mk {
.linesep @clones
.enable #mk | .disable #Who
if (@ isin $1) { raw -q who $1 }
set %mkCloneAlert $$1 | .linesep @clones
return
}

#mk off
raw 352:*: {
.enable #mk | .disable #Who
echo @clones 4 $6  $3 $+ @ $+ $4 2 $9-
set %mk.CloneNicks $6
halt
}
raw 315:*: {
.disable #mk
.timerenablewho 1 1 .enable #Who
.linesep @clones
echo @clones To kill clones, hit F1 or akill them F5
:end
.linesep @clones
halt
}
#mk end

Not sure about that, or how to code the F1 to kill or F5 to akill

Thankyou

Paula

#11912 18/02/03 06:15 PM
G
gerdigos
gerdigos
G
Read mIRC's EXCELLENT helpfile to get more info on using the F buttons. I am in IRCnet, where we have no Operserv, so i can't help frown

#11913 18/02/03 09:56 PM
G
GodGell
GodGell
G
Hi.

Now i have no time for read the script, but i can say, you can program F-keys by making aliases named f?. Example:

Code:
 alias f1 echo -a Dont press your keyboard while the computer is turned on, or you will smile. 


will echo "Dont press your keyboard while the computer is turned on, or you will smile." into the active window when you press F1.


Link Copied to Clipboard