Smaug Building by moving

Posted by Schil on Fri 17 Feb 2017 05:24 PM — 2 posts, 11,511 views.

#0
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
Australia Forum Administrator #1
That should be easy enough. Make the vnum a variable, and every time you move add one to it.