!kb script
Please Register to submit score.
| Average Score | 2.0 |
| Scores Submitted | 1 |
| Date Added | Apr 03, 2008 |
| Last Updated | Jun 04, 2008 |
| Tags | ban count halfop kb kick kickban on op reason text |
Introduction
Made in Request by R-S
...Or at least requested to edit...
***UPDATE***
Added an input for `k and `kb.
mIRC Snippet:
!kb script
Posted on Apr 3, 2008 10:13 pm
Posted on Apr 3, 2008 10:13 pm
no need to set global vars and you have where it says set %kbreason %3-
should be $3-
you could have it like this as well
just a thought....
should be $3-
you could have it like this as well
| Code: |
| on *:text:!kb*:#:{ if ($nick(#,$nick,vr)) || ($2 == $me) { .notice $nick $iif($2 == $me,Piff You Think So?,You must be halfop or above to use my !kb script.) } elseif (!$2) || ($2 !ison #) { .notice $nick $iif(!$2,Please Enter A Nick To Ban.,I Can't Seem To Find $2) } else { var %kbreason $3- if (!%kbreason) { var %kbreason You !@#$ up. Bai. } ban -k $chan $2 %kbreason inc %count msg $chan $2 Is The $ord(%count) Noob To Be Turned Into A Sweatshop Worker... } } |
just a thought....
mIRC Snippet:
!kb script
Posted on Apr 3, 2008 10:44 pm
Posted on Apr 3, 2008 10:44 pm
...Thinking doesnt suit you Napa :P
mIRC Snippet:
!kb script
Posted on Apr 4, 2008 9:01 am
Posted on Apr 4, 2008 9:01 am
lmfao, EL :P
u may wanna add:
:)
u may wanna add:
| Code: |
if (!%count) { set %count 1 } |
:)
mIRC Snippet:
!kb script
Posted on Apr 4, 2008 5:50 pm
Posted on Apr 4, 2008 5:50 pm
GAHH napa182, you friggin know everything xD ... and I totally missed %3-... I'm not sure why I put that o.O
Lmao @ EL
and thanks jonesy44, I just might add that ;)
Lmao @ EL
and thanks jonesy44, I just might add that ;)
mIRC Snippet:
!kb script
Posted on Apr 4, 2008 6:53 pm
Posted on Apr 4, 2008 6:53 pm
I would learn the $iif identifier.
Basically it's $iif(statement,if true,if false)
So like "echo -a $iif(2 == 3,yup,nah)" would return nah
In this case, you could do
Basically it's $iif(statement,if true,if false)
So like "echo -a $iif(2 == 3,yup,nah)" would return nah
In this case, you could do
| Code: |
ban -k $chan $2 $iif($3,$3-,You !@#$ up. Bai.) |






