City List

Posted by Hoss on Tue 26 Apr 2005 02:39 PM — 2 posts, 16,062 views.

USA #0
Alright I'm making a script that when it will match on different player names it will put those player names in a certain colour from then on so far I have the trigger to put the names in the variable and it is:


<aliases>
  <alias
   match="mag *"
   enabled="y"
   send_to="12"
   sequence="100"
  >
  <send>world.setvariable "mag", world.getvariable("mag") &amp; "%1"</send>
  </alias>
</aliases>


I thought about doing something like:

If world.getvariable("mag") = "Lala" then

And that would change the colour of Lala from then on whenver I saw it to Red.

I guess we could match on a trigger, but I'm not sure

Thanks for the Help
Hoss
USA #1
Yes, it should be a trigger (because you can't change the color once it's already triggered and sent to script).

Here's a working version:
http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=4603