[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  General
. . -> [Subject]  Smaug Building by moving
Home  |  Users  |  Search  |  FAQ
Register forum user name
Forgotten password?

Smaug Building by moving

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

Posted by Schil   (3 posts)  [Biography] bio
Date Fri 17 Feb 2017 05:24 PM (UTC)
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.

(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
[Go to top] top

Posted by Nick Gammon   Australia  (21,669 posts)  [Biography] bio   Forum Administrator
Date Reply #1 on Fri 17 Feb 2017 08:43 PM (UTC)
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
[Go to top] 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.


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

Go to topic:           Search the forum

[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]