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
➜ Smaug Building by moving
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Schil
(3 posts) Bio
|
Date
| Fri 17 Feb 2017 05:24 PM (UTC) |
Message
| I'm a bit of a newbie to Mushclient and to scripting and advanced trigger but wanted to see if this can be done. Currently I am building on a Smaug codebase and am using the basic commands. However what i would like to create is an easy way to just walk around and create rooms with keypad movement
The only issue would be i need some kind of way to have it every-time i move it changes the number and counts up. For example
I have an alias to make exits:
Redit bexit N (Vnum)= RBN (Vnum)
I then have command to move in that direction for the second command.
I want to see if its possible to have the (vnum) part of my alias change(Counting up) every-time.
Example:
(Located in Vnum 0)Redit bexit N 1; N
(Move to Vnum 1) Redit bexit N 2; N
Once I move it would then change to 2
Basically i want to make rooms by just walking around. Could anyone point me in the right direction? Does anyone have any scrips/triggers to help with building?
Thanks all | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #1 on Fri 17 Feb 2017 08:43 PM (UTC) |
Message
| That should be easy enough. Make the vnum a variable, and every time you move add one to it. |
- 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.
9,021 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top