mIRC Home    About    Download    Register    News    Help

Print Thread
#260400 17/04/17 07:42 PM
Joined: Oct 2016
Posts: 5
F
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
F
Joined: Oct 2016
Posts: 5
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

Joined: Apr 2014
Posts: 170
Vogon poet
Offline
Vogon poet
Joined: Apr 2014
Posts: 170
use .me instead of /me

Joined: Oct 2016
Posts: 5
F
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
F
Joined: Oct 2016
Posts: 5
.me doesnt work in a twitch chat though you have to use /me

Joined: Apr 2014
Posts: 170
Vogon poet
Offline
Vogon poet
Joined: Apr 2014
Posts: 170
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.

Last edited by Bramzee; 18/04/17 01:35 AM.
Joined: Oct 2016
Posts: 5
F
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
F
Joined: Oct 2016
Posts: 5
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

  }
}

Joined: Apr 2014
Posts: 170
Vogon poet
Offline
Vogon poet
Joined: Apr 2014
Posts: 170
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?

Joined: Jul 2016
Posts: 28
Z
Ameglian cow
Offline
Ameglian cow
Z
Joined: Jul 2016
Posts: 28
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

  }
}



Last edited by zapdos26; 19/04/17 01:33 AM.
Joined: Oct 2016
Posts: 5
F
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
F
Joined: Oct 2016
Posts: 5
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

Joined: Oct 2016
Posts: 5
F
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
F
Joined: Oct 2016
Posts: 5
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

Joined: Jul 2016
Posts: 28
Z
Ameglian cow
Offline
Ameglian cow
Z
Joined: Jul 2016
Posts: 28
No problem smile


Link Copied to Clipboard