REQ: Achaea Help, Variables, Aliases Triggers and more

Posted by Draccy on Sun 10 Apr 2005 11:37 PM — 2 posts, 14,995 views.

USA #0
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.
USA #1
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).