Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias kb {
- if (!$1) {
- echo /kb - Nick missing
- return
- }
- var %msg = $iif(#, $2-, $3-)
- var %chan = $iif(#, #, $2)
- ; Set this for default ban reason, or remove for no default reason
- ; Can be shortened to %msg = $iif(%msg, %msg, GTFO)
- if (!%msg) %msg = Not wanted here
- if ($me isop %chan) {
- MODE %chan +b $wildsite
- KICK %chan $1 %msg
- }
- else echo You are not oper on %chan
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement