Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.
 Entire forum ➜ MUSHclient ➜ VBscript ➜ City List

City List

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Hoss   USA  (48 posts)  Bio
Date Tue 26 Apr 2005 02:39 PM (UTC)
Message
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
Top

Posted by Flannel   USA  (1,230 posts)  Bio
Date Reply #1 on Tue 26 Apr 2005 05:24 PM (UTC)
Message
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

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


11,948 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.