mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Aug 2016
Posts: 4
K
Self-satisified door
OP Offline
Self-satisified door
K
Joined: Aug 2016
Posts: 4
So I'm trying to make this queue command subscriber only but nothing happens when I try to use it, not sure what I'm missing.

Code:

on *:text:!join:#channelname: {
  if ($msgtags(msg-id).key == sub) {
    if ($read(queuelist.txt,nw,$nick)) { msg $chan $nick is already in the queue | return }
    else write queuelist.txt $nick 
    msg $chan Added $nick to the queue
  }
}


Joined: Jul 2015
Posts: 13
S
Pikka bird
Offline
Pikka bird
S
Joined: Jul 2015
Posts: 13
Hello,

Change ($msgtags(msg-id).key == sub)

by ($msgtags(subscriber).key)

And don't forget to use this when you connect on server and before join the chan
/raw CAP REQ :twitch.tv/commands
/raw CAP REQ :twitch.tv/tags
/raw CAP REQ :twitch.tv/membership

Last edited by Sissou; 27/05/17 11:12 AM.
Joined: Aug 2016
Posts: 4
K
Self-satisified door
OP Offline
Self-satisified door
K
Joined: Aug 2016
Posts: 4
That did the trick, thanks!


Link Copied to Clipboard