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 ➜ Jscript ➜ For Beginners

For Beginners

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


Posted by Erock   (1 post)  Bio
Date Fri 05 Dec 2003 01:34 AM (UTC)
Message
Okay, I've looked through all the help files I can stand, and quite a few posts, and I'm afraid I just don't get it. I have some programming experience with Java, but that isn't my problem. I simply have no idea how to put any of these things to work.

Specifically, I'm trying to make an easy way for me to heal whoever the tank (or buffer, the guy taking most of the damage for the group) is on the MUD. I've been using the macro keys and just typing in the name every time its a new tank, but I'd like to find an easier way to do this.

I prefer opening up the windows (where the "add" and "delete" buttons can be found) to typing all the commands in the little input window, so if anyone can help me, could they please speak slowly and do it that way? I would appreciate it. :)
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #1 on Fri 05 Dec 2003 03:41 AM (UTC)
Message
What exactly are you trying to do? Automatically determine who the tank is, and heal them, or you specify the tank and then all subsequent commands act on the tank you specified?

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Nick Gammon   Australia  (23,169 posts)  Bio   Forum Administrator
Date Reply #2 on Mon 08 Dec 2003 06:23 AM (UTC)
Message
You want something like an alias that does:

heal @target

Where "target" is a variable (check "expand variables").

Then just go to the variables configuration screen (the last one) and re-enter "target" whenever you need, or make an alias to do it for you. There are quite a few posts along those lines.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
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.


13,892 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.