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
➜ Is there a way I can change a variable from the command line?
Is there a way I can change a variable from the command line?
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| BishopOsiris
USA (55 posts) Bio
|
Date
| Wed 21 Dec 2016 08:44 PM (UTC) |
Message
| I want to change existing variables from the command line while I'm logged into the mud. Is there a way to do this?
Also, is there a way to change a variable based on a trigger from the mud? Say I have a variable @food and it's set to beef. In the mud if I look in my container and I see:
(10) a whole chicken
I want the variable @food set to chicken.
Thanks | Top |
|
Posted by
| Fiendish
USA (2,534 posts) Bio
Global Moderator |
Date
| Reply #1 on Thu 22 Dec 2016 02:58 AM (UTC) |
Message
| Yes, either with the script prefix, set in menu Game->Configure->Scripting, or the immediate window, via Game->Imediate. Both ways should let you call SetVariable. |
https://github.com/fiendish/aardwolfclientpackage | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #2 on Thu 22 Dec 2016 05:27 AM (UTC) |
Message
| |
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.
15,084 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top