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.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ General ➜ REQ: Achaea Help, Variables, Aliases Triggers and more

REQ: Achaea Help, Variables, Aliases Triggers and more

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


Posted by Draccy   USA  (1 post)  Bio
Date Sun 10 Apr 2005 11:37 PM (UTC)
Message
Greetings,

I am a zmud (dare I say it) convert and really open to the power of mushclient. It looks great and I am looking forward to growing into it.

I'm looking for a way to set up a simple highlighting system for names.

I'd like to have a trigger that knows to highlight any names it finds in a variable called CITY with colours of that city. In addition to that, I'd like to be able to add a name to the variable city directly from the command line.

So, addn friends Dracnor would add the name Dracnor to the variable friends.

Is this possible at all?

I'd also need a way to delete a name from a variable too!

Many thanks in advance to teaching this novice.

Dracnor "Draccy" Danial
Top

Posted by Flannel   USA  (1,230 posts)  Bio
Date Reply #1 on Mon 11 Apr 2005 01:52 AM (UTC)

Amended on Mon 11 Apr 2005 01:53 AM (UTC) by Flannel

Message
While the changing the name to the color of the city is a little bit more complicated (although easy to add in later, Ill get back to you on it), the details of listing of highlighting (changing color) and adding/subtracting can all be found in a couple of places (pieces in each):
http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=4603
and
http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=4415

Once again, the coloring based on city will get a little more complicated (how do you know which city you're in?) although only a little bit more (you'll have to edit the trigger for the color, but it wont be too hard).

However that covers the basics of storing a list of things to highlight (and adding and deleting from that list).

~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,633 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.