mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jul 2015
Posts: 18
D
Domd74 Offline OP
Pikka bird
OP Offline
Pikka bird
D
Joined: Jul 2015
Posts: 18
This is what I have so far....

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-)

Joined: Sep 2011
Posts: 32
F
Ameglian cow
Offline
Ameglian cow
F
Joined: Sep 2011
Posts: 32
You haven't explained what the problem is.

Joined: Jul 2015
Posts: 18
D
Domd74 Offline OP
Pikka bird
OP Offline
Pikka bird
D
Joined: Jul 2015
Posts: 18
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.
Joined: Oct 2014
Posts: 35
M
Ameglian cow
Offline
Ameglian cow
M
Joined: Oct 2014
Posts: 35
You're probably not requesting the user list - https://blog.bashtech.net/requesting-user-lists-on-twitch-irc/


Matti
Joined: Jul 2015
Posts: 18
D
Domd74 Offline OP
Pikka bird
OP Offline
Pikka bird
D
Joined: Jul 2015
Posts: 18
THANK YOU SO MUCH! That was exactly it!!


Link Copied to Clipboard