The command doesn't work it always says that you aren't moderator, however I am. I was instructed to change it to this, however it still does no work -
on *:TEXT:!kick*:#: {
if ($nick isop #) {
var %nick = $$2
msg $chan /timeout %nick
msg $chan /me $capital(%nick) was timed out from the chat for 10 minutes. Please consider following rules next time. $capital(%nick) $+ !
}
else { msg $chan You aren't a moderator. DansGame }
elseif ($nick == %nick) { msg # You can't time out yourself! Kappa }
}
on *:TEXT:!ban *:#: {
if ($nick isop #) {
var %nick = $$2
msg $chan /ban %nick
msg $chan /me Get rekt $capital(%nick) $+ ! If we are up to this point, it is obvious you don't want to follow the rules!
}
elseif ($nick == %nick) { msg # You can't ban yourself! Kappa }
else { msg $chan Woah do you have special powers? I don't think you are a mod. Kappa }
}
on *:TEXT:!unban *:#: {
if ($nick isop #) {
var %nick = $$2
msg $chan /unban %nick
msg $chan /me $capital(%nick) has been unbanned from the chat. You have been given a second chance, don't screw it up $capital(%nick) $+ ! SwiftRage
}
elseif ($nick == %nick) { msg # You can't ban yourself! Kappa }
else { msg $chan Who do you think you are, a moderator? Keepo }
}
alias capital { return $upper($left($1,1)) $+ $mid($1,2-) }
Last edited by Domd74; 19/07/15 04:12 PM.