Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
bajerose
Newbie


Joined: 28 Nov 2015
Posts: 4

PostPosted: Thu Apr 15, 2021 12:16 am   

Speedwalking and sneak
 
Hey all,

Is there a way to apply sneaking when I walk/speedwalk instead of having to go sneak e, sneak s, etc?
Reply with quote
hpoonis2010
Adept


Joined: 18 Jun 2019
Posts: 279

PostPosted: Thu Apr 15, 2021 8:18 am   
 
You only 'sneak' for movement into one room only? Not a mud command which sneaks until combat/etc?

For one-room sneak you can set an event (probably OnRoomWalk) to fire sneak...and probably even limit it to a particular zone.
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4692
Location: Pensacola, FL, USA

PostPosted: Sat Apr 17, 2021 7:39 pm   
 
You can use variables and an #ONINPUT trigger.
I have a similar feature for sailing in a MUD I play.

Code:
#ONINPUT {^(%w)$} {
  #IF (%reversedir( %reversedir( %1))) {
    lastDir=%reversedir( %1, 1)
    #IF (@vessel) {sail %reversedir( @lastDir, 1)}
    }
  #IF (%ismember(%1, {dive|disembark|drydock})) {#CALL %pop(vessel);#T- Myship}
}
_________________
Discord: Shalimarwildcat
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net