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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
obor
Wanderer


Joined: 20 Dec 2001
Posts: 56
Location: USA

PostPosted: Wed Dec 26, 2001 11:56 pm   

stealthmode setup works in 4.62, not in 6.16
 
What I have is a little setup which allows me to type "gostealth", and when I move in whichever direction, I will first hide and sneak, then move the direction I want to go, then hide again once I enter the room. It works perfectly with 4.62, but the identical setup doesn't work in 6.16. That is, regardless of whether stealthmode is "on" or "off", I still just move each direction without hiding or sneaking.

Here's how it looks from each version(cut and pasted directly from my aliases and variables, to check for syntax)

4.62 -

variable name - stealthmode
variable value - on

alias name - gostealth
alias value - on

alias name - n
alias value - #IF {@stealthmode=on} {sneak;hide;north;hide} {north}

6.16 -

variable name - stealthmode
variable value - on

alias name - gostealth
alias value - on

alias name - n
alias value - #IF {@stealthmode=on} {sneak;hide;north;hide} {north}
(here's EXACTLY what it looks like in the window -
#IF {@stealthmode = on} {
sneak
hide
north
hide
} {north}

alias name - off
alias value - #VA stealthmode off

---------
in 4.62, it works perfectly. I type "gostealth", and when I use either the keypad or the letters on the keyboard to go n, s, e, w, etc. I hide;sneak;move;hide;

In 6.16, it doesn't matter what I type, I just move without the sneaking or hiding. the variable "stealthmode" IS adjusted by typing "gostealth" or "off", but I just don't actually move with sneaking and hiding.

Help! This is annoying me!
Reply with quote
SHASCO
Novice


Joined: 29 May 2001
Posts: 48
Location: USA

PostPosted: Thu Dec 27, 2001 12:01 am   
 
Instead of using "on" for your variable state try using 0 and 1.
Reply with quote
obor
Wanderer


Joined: 20 Dec 2001
Posts: 56
Location: USA

PostPosted: Thu Dec 27, 2001 12:03 am   
 
CHA-CHING!!

that did it! Thanks!!!
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD 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