mIRC Home    About    Download    Register    News    Help

Print Thread
/me Command Twitch Restrictions #244018 16/01/14 11:47 PM
Joined: Jan 2014
Posts: 1
H
HodgmoTwitch Offline OP
Mostly harmless
OP Offline
Mostly harmless
H
Joined: Jan 2014
Posts: 1
Okay i'm using twitch and there is a command that users can type "/me" and it will type the variable after their name. I was wondering if there is a script able to make a conditional to where if you are op, you can use the /me command and if you aren't op, then it tells you "You aren't able to use this command" AND MAYBE at the same time making a flood on this so they aren't spamming this command. Thanks abunch!

Re: /me Command Twitch Restrictions [Re: HodgmoTwitch] #244019 17/01/14 02:36 AM
Joined: Dec 2013
Posts: 779
N
Nillen Offline
Hoopy frood
Offline
Hoopy frood
N
Joined: Dec 2013
Posts: 779
What? /me is used to change the users font color to that of the pre-determined color which you chose on twitch.
(In order to make it seem like an emote)

If you mean !me instead of /me, then it makes sense.

Code:
on *:text:!me:#: {
  if (%floodme == on) { return }
  if ($nick isop #) { msg # $nick %variablename }
  else { msg # You aren't able to use this command. }
  set -u10 %floodme on
}


When this command is successfully used, it'll set a flood on called %floodme.
You can change how long you want the flood to last.
If the flood is active, the command won't do anything.



Nillens @ irc.twitch.tv
Nillen @ irc.rizon.net
Re: /me Command Twitch Restrictions [Re: HodgmoTwitch] #244021 17/01/14 07:14 AM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
/me is a command built in to mirc, you can't stop people using that. The only thing you can do as a op is to kick users using "action" in the channel.


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }