Register forum user name Search FAQ

Gammon Forum

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 ➜ Changing speedwalk directions?

Changing speedwalk directions?

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


Posted by Killergate   Denmark  (4 posts)  Bio
Date Mon 09 Aug 2010 09:17 AM (UTC)
Message
Hi,

Is is possible to change the speedwalk directions sent to the mud? Ie so:

.5n --> north/north/north/north/north

gives me n/n/n/n/n instead?

/kg
Top

Posted by Mm1mark   (24 posts)  Bio
Date Reply #1 on Mon 09 Aug 2010 06:57 PM (UTC)

Amended on Mon 09 Aug 2010 06:58 PM (UTC) by Mm1mark

Message

<aliases> 

  <alias
   match="#* *"
   enabled="y"
   regexp="y"
   send_to="12"
   sequence="100"
  >
  <send> i = 1
  while i <= %1 do
    Send ("%2")
    i = i +1
  end</send>
  </alias>
</aliases>


simple alias but would allow #5 n. would do what your looking for.
could switch the "#" for "." to make it .5 n. to get the example you were wanting.
Top

Posted by Killergate   Denmark  (4 posts)  Bio
Date Reply #2 on Mon 09 Aug 2010 07:01 PM (UTC)
Message
Hi,

I was more interested in redefining the existing directions from the built in speedwalker, so it doesnt spit "north" out, but only "n".

/kg
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #3 on Mon 09 Aug 2010 09:46 PM (UTC)
Message
Template:post=9011 Please see the forum thread: http://gammon.com.au/forum/?id=9011.


That should help.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Killergate   Denmark  (4 posts)  Bio
Date Reply #4 on Tue 10 Aug 2010 02:45 PM (UTC)
Message
Hi,

Thanks a heap.

/kg
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.


17,234 views.

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

Go to topic:           Search the forum


[Go to top] top

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