feature request
2 posters
feature request
um i was thinking a nice feature would be an anti-slap system :p
dreamtraveler- Posts : 2
Join date : 2010-07-31
Re: feature request
Sorry about the delay, been busy. The script below is an 'anti-slap' system and will slap the user back. Flood protection is enabled so you will only reply to 3 slaps per user within 5 seconds to prevent being flooded off. After 5 seconds have passed, you will respond to slaps from the user. I can make a dialog for this in version 4.3 and incorporate it into the script if enough people want it, or just provide it as an addon.
Press ALT+R and then go to File->New (this will create a new script file where you will paste the code below)
Paste the code below into the mIRC Script Editor window (accessed by ALT+R) and then press 'OK' and you're all done.
on *:action:*:#:{
if (slaps $me isin $1-2) {
inc -u5 %slap $+ $nick 1
if (%slap [ $+ [ $nick ] ] < 4) { describe $chan slaps $nick $3- }
}
}
Press ALT+R and then go to File->New (this will create a new script file where you will paste the code below)
Paste the code below into the mIRC Script Editor window (accessed by ALT+R) and then press 'OK' and you're all done.
on *:action:*:#:{
if (slaps $me isin $1-2) {
inc -u5 %slap $+ $nick 1
if (%slap [ $+ [ $nick ] ] < 4) { describe $chan slaps $nick $3- }
}
}
Re: feature request
If you no longer wish to use the above script either unload the script you just created from the same mIRC Script Editor window (access by pressing ALT+R) and then going to File->Unload. You can alternatively simply delete the text you pasted in and press OK (again, via ALT+R).
Permissions in this forum:
You cannot reply to topics in this forum
|
|