mIRC Home    About    Download    Register    News    Help

Print Thread
#11323 15/02/03 09:19 PM
Joined: Feb 2003
Posts: 6
G
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
G
Joined: Feb 2003
Posts: 6
Well. I have a flood protection. I want it to Warn On the FIRST flood. Then Kick on second, and Kban on 3rd.
I also, IF POSSIBLE want it to be toggled so I set it to like high protection and then it skips the warnings and kicks and kbans. Medium - Kick First - KBan next
Also, I want it to be the same for Caps pro. I want the kick msg to be: Your Text contains number% Caps.
Anyhow: I only have the flood code. =( So I need some MAJOR Help!
on *:TEXT:*:#: {
if ($nick isop #) || ($nick isvoice #) return
if ($chan == #scripting) { halt }
set -u3 %fld. [ $+ [ $chan ] $+ . $+ [ $nick ] ] $calc( %fld. [ $+ [ $chan ] $+ . $+ [ $nick ] ] + 1)
if (%fld. [ $+ [ $chan ] $+ . $+ [ $nick ] ] >= 7) {
set %floodkb (Flood Protection.)
ban # $nick 3
kick # $nick %floodkb
}
}
#Scripting is in there. It's nothing though. - Please Help -
I need These Pros as quick as Possible. blush) Thanks!
Make sure it follows the info I stated above, the warning and stuff. =0 Thanks, Again, GC~

#11324 16/02/03 05:49 AM
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
This page explains alot about the common protection scripts. it also explains how to use 'Reaction level' variables.

I suggest you to try some codes from there, and if you face specific problems you can post it here. (don't forget to use the [[b][/b]code] tag to keep code spacing, so it would be readable)


Link Copied to Clipboard