Auto-casting spells

Posted by Unregistered user on Fri 12 Jan 2001 12:00 AM — 3 posts, 16,199 views.

#0
Hello everyone,

I have never done anything like this before so, please be kind... I have played a game (gemstone 3) for 5 years now using the supplied frontend, The Wizard. Well, I have heard about the availability of other clients and found Mushclient. I have successfully created several triggers and after reading many of the help files I decided that one thing I want to do is auto cast as spells wear off. As a wizard, part of my importance to the group effort is in my ability to cast offensive and defensive spells on group members. I wish to cast only on my group members though, wouldn't really please my party members if i was to pump up the critters, know what I mean? I thought maybe of using a variable with my friends names, but I must admit I don't know what I am doing. Please help. Realize that my ignorance is far from blissful and to be taken by the hand and lead step by virtual step would be most helpful.

Thank you,

Kaz
#1
okay, I found how useful Regular Expressions can be.... still plowing through all the Help files and whatnot.
Australia Forum Administrator #2
You might find variables helpful. You can set them from the command line, or through the configuration screen. Here is a bit from the trigger help that describes them ...

If expand variables is on (checked) then a variable name in the format @name is expanded. To put a @ symbol itself in the trigger, use two @@.

Here is an example of such an trigger:

unlock @direction

For this trigger to work you would need a variables, "direction".

You can set variables by using the configuration dialog box, or through a scripting command (if scripting is enabled), like this:

/world.setvariable "direction", "north"


In your case you might set up a variable "friends", and then set up a trigger (or alias depending on what you are trying to do) that casts the spell on @friends.