mIRC Homepage
Posted By: Flash0429 /me Comments on twitch - 17/04/17 07:42 PM
ok so i have a script that changes my color of text everytime i talk in chat simple however it doesn't not work when i use the /me before typing i was wondering if there was a way to recognize chat using /me to be able to get the color to change when used
Posted By: Bramzee Re: /me Comments on twitch - 18/04/17 12:51 AM
use .me instead of /me
Posted By: Flash0429 Re: /me Comments on twitch - 18/04/17 01:12 AM
.me doesnt work in a twitch chat though you have to use /me
Posted By: Bramzee Re: /me Comments on twitch - 18/04/17 01:32 AM
I just ran this exact script and it worked fine for me...

Code:
on *:text:!hi:#: {
  msg # .me Hello
}



edit:

Code:
on *:text:!hi:#: {
  msg # /me Hello
}


this is working for me too... copy/paste the script you're trying to use.
Posted By: Flash0429 Re: /me Comments on twitch - 18/04/17 06:05 PM
ok i see the confusion were having the script i have changes my name color when i type in chat in browser i just open the chat in mirc and when i type in the browser chat it changes my name color each time i talk except when i use /me if i use that it doesnt work at all


Code:
ON *:TEXT:*:#: {

  IF ($nick == flash0429) {

    var %color = $chr(35) $+ $base($rand(0, 16777215), 10, 16, 6)

    MSG $chan .color %color

  }
}
Posted By: Bramzee Re: /me Comments on twitch - 19/04/17 12:00 AM
Ahhh, I got you. I guess I read what you were saying the wrong way lol. To be completely clear here... The account who's color you're trying to change DOES have twitch turbo/prime correct?
Posted By: zapdos26 Re: /me Comments on twitch - 19/04/17 01:27 AM
This is due to /me not being a TEXT event, but rather an ACTION event. You need two separate scripts. One for the TEXT events and one for ACTION events.
Code:
ON *:TEXT:*:#: {

  IF ($nick == flash0429) {

    var %color = $chr(35) $+ $base($rand(0, 16777215), 10, 16, 6)

    MSG $chan .color %color

  }
}

ON *:ACTION:*:#: {

  IF ($nick == flash0429) {

    var %color = $chr(35) $+ $base($rand(0, 16777215), 10, 16, 6)

    MSG $chan .color %color

  }
}


Posted By: Flash0429 Re: /me Comments on twitch - 19/04/17 02:35 AM
Originally Posted By: Bramzee
Ahhh, I got you. I guess I read what you were saying the wrong way lol. To be completely clear here... The account who's color you're trying to change DOES have twitch turbo/prime correct?


Yup i have prime
Posted By: Flash0429 Re: /me Comments on twitch - 19/04/17 02:37 AM
Originally Posted By: zapdos26
This is due to /me not being a TEXT event, but rather an ACTION event. You need two separate scripts. One for the TEXT events and one for ACTION events.
Code:
ON *:TEXT:*:#: {

  IF ($nick == flash0429) {

    var %color = $chr(35) $+ $base($rand(0, 16777215), 10, 16, 6)

    MSG $chan .color %color

  }
}

ON *:ACTION:*:#: {

  IF ($nick == flash0429) {

    var %color = $chr(35) $+ $base($rand(0, 16777215), 10, 16, 6)

    MSG $chan .color %color

  }
}




YOU ARE AMAZING Exactly what i needed Thank you Soo much
Posted By: zapdos26 Re: /me Comments on twitch - 20/04/17 12:05 PM
No problem smile
© mIRC Discussion Forums