Warning script
mIRC Code
+ 0 likes
Please Register to submit score.
| Average Score | 3.7 (of 3 scores) |
| Date Added | Sep 08, 2008 |
| Last Updated | Sep 08, 2008 |
| Tags | mudkipz protection script strike warning |
Introduction
Its basically Three strikes and your out. Not really Much more to say Really...
SYNAX:- .strike <Nick to be sticken> then it tells you how many stikes they currently have
mIRC Snippet:
Warning script
Posted on Sep 8, 2008 4:28 pm
Posted on Sep 8, 2008 4:28 pm
you forgot to add the kick to the third strike unless that was your intention :)
mIRC Snippet:
Warning script
Posted on Sep 8, 2008 4:37 pm
Posted on Sep 8, 2008 4:37 pm
You can combine some of these if statements. Example:
And then with
You can combine them:
Just use brackets { } and you can put multiple things in one if statement.
| Code: |
if ($nick isop $chan || $nick ishop $chan) { notice $2 you now have a strike... notice $nick you have issued a strike... } |
And then with
| Code: |
if (%strike. [ $+ [ $2- ] ] == 3) notice $nick $2- has 3 strikes, which is kbable, so go ahead if (%strike. [ $+ [ $2- ] ] == 3) set %strike. [ $+ [ $2- ] ] |
You can combine them:
| Code: |
if (%strike. [ $+ [ $2- ] ] == 3) { notice $nick $2- has 3 strikes, which is kbable, so go ahead set %strike. [ $+ [ $2- ] ] } |
Just use brackets { } and you can put multiple things in one if statement.
mIRC Snippet:
Warning script
Posted on Sep 8, 2008 7:49 pm
Posted on Sep 8, 2008 7:49 pm
This is the leetness.
mIRC Snippet:
Warning script
Posted on Sep 8, 2008 9:03 pm
Posted on Sep 8, 2008 9:03 pm
why not do
| Code: |
| on @*:text:.strike*:#: { if ($nick(#,$nick,oh)) { inc $+(%,strike,.,$2,.,$chan) if ($($+(%,strike,.,$2,.,$chan),2) isnum 1-2) { .notice $2 you now have a strike, you currently have $($+(%,strike,.,$2,.,$chan),2) | .notice $nick you have issued a strike, $2 now has $($+(%,strike,.,$2,.,$chan),2) } else { .notice $nick $2 has 3 strikes, which is kbable, so il go ahead and kick ban them | ban -k # $2 2 Three strikes and ur out | unset $+(%,strike,.,$2,.,$chan) } } } |
mIRC Snippet:
Warning script
Posted on Sep 8, 2008 9:37 pm
Posted on Sep 8, 2008 9:37 pm
There goes another... 8D
mIRC Snippet:
Warning script
Posted on Sep 9, 2008 12:06 pm
Posted on Sep 9, 2008 12:06 pm
mountiandew I didnt think of doing it like that, I fit all the commands into the one line tho, using |. Cherion that was my intention, The option of kick on third stike will be on my Upcoming update, aswell as reason for strike, Strike check, And many more. So keep checking this script, If you want I will Pm you when it comes out.Thanks for all the positive comments.







