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
➜ Saving/setting a variable
|
Saving/setting a variable
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Denniscjr
(1 post) Bio
|
| Date
| Wed 06 Apr 2016 02:26 PM (UTC) |
| Message
| Hello,
I'm not very good at scripting so I need some n00b help on this. I just switched from CMUD to mushclient because its free.
I would like to be able to type mob ant and it save a variable called mob as ant then I can use triggers and aliases that use the word mob in it to attack the monster. | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Wed 06 Apr 2016 07:49 PM (UTC) |
| Message
| See this tutorial:
http://www.gammon.com.au/forum/?id=10863
There is quite a lot of discussion about variables, and at about 3:20 shows how to make an alias that sets a variable.
You will probably find the other stuff helpful too. |
- 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.
11,538 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top