Here is a simple Kick and Kick Ban script.
Commands:
"/k " Will kick the person with a default reason
"/kr " Will kick the person with a default message
"/kb " Will kick and ban the person with a default message
"/kb " Will kick and ban the person with a custom message
"/spam " Will kick the person with a anti-spam message
"/flood " Will kick the person with a anti-flood message"
;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;@@@ Kick / Kick-Ban Script @@@
;@@@ By Craighton @@@
;@@@ http://logiclounge.com @@@
;@@@ If you need help join @@@
;@@@ Server: irc.logiclounge.net @@@
;@@@ Channel: #scripts @@@
;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
alias kb {
mode $chan +b $address($1,2)
kick $chan $1 Your attitude is not conductive in the desired enviroment
}
alias kbr {
mode $chan +b $address($1,2)
kick $chan $1 $2-
}
alias k { kick $chan $1 Your attitude is not conductive in the desired enviroment.
}
alias kr { kick $chan $1 $2-
}
alias flood { kick $chan $1 Havn't you heard?! Flooding is lame as every idiot can do it!
}
alias spam { kick $chan $1 Spamming is not tolerated here.
}
statments... STATEMENTS for god sakes... learn to talk nerd.. $iif is a statement not a command, a command is /quit or /kill a statement is: IF THIS IS RIGHT, DO THIS, OR ELSE DO THIS. like so,
$iif(1 == 1,Do this,or else do this)
if 1 == 1 returns $true. it will
do this
if 1 doesnt = 1 it will go to that
or else.
so
$iif(1 == 1,Hello,Bye)
Hello
And
$iif(1 == 2,Hello,Bye)
it was fun seeing ya.
And now you know $iif statements. it was fun.
Ghost-writer, you're supposed to sound encouraging and offer your support, instead of jeering off what this user has posted. Also, shouldn't you mean "it's not the quantity, it's the quality?" You said it in reverse. Here is my suggestion:
alias k { $iif(!$1,echo # * To kick $+ $chr(44) enter: /k NickHere,$iif($1 !ison #,msg $v2 $v1 is not found or on $v2,kick $v2 $v1 $2-)) }
alias kb { $iif(!$1,echo # * To kick + ban $+ $chr(44) enter: /kb NickHere,$iif($1 !ison #,msg $v2 $v1 is not found or on $v2,ban -k $v2 $v1 2 $2-)) }
Are you fucking serious? post all your scripts in 1! its not quality its quantity!
alias kb {
mode $chan +b $address($1,2)
if (!$2) { /msg $chan kick $1 }
}
alias k {
if ($2) { /msg $chan kick $1 $2- }
Why the fuck would you message the channel? fucking idiot? /kick $chan $nick = syntax. Also, no need for / in a script, Mirc does it by default! And some people dont have $readini(mirc.ini, mirc, commandchar) set to /. and $1- works fine. btw 2 dif aliases yet dif operations? the k wont work because i type /k nick and theres no $2. Please Review your scripts.