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
AaroNRelentlesS
Newbie


Joined: 20 Apr 2005
Posts: 2

PostPosted: Wed Apr 20, 2005 4:44 am   

help me with this simple script i cant figure out
 
i have a script setup to auto-move into the next room when something dies, so that i only have to hit enter and i keep killing. okay, so i recently tried to improve upon this and make it so i could add the movement char, and move more than one room at a time. so my script was..


trigger line - that thing is not here
command - @go

but it would only function for one letter commands. ive tried changing the command to

.@go

ive tried enclosing it in braces, ive tried changing my movement char, ive tried just about everything i can think of. ive gotten it to where the trigger will fire, and it will send

.eenenu
or
.nnn

for example, but it wont recognize the movement char. it will literally send ".eenenu" to the mud, and i simply get a "Pardon?" from the mud. any suggestions out there? or guaranteed fixes? *pokes at you Gurus*
Reply with quote
Kiasyn
Apprentice


Joined: 05 Dec 2004
Posts: 196
Location: New Zealand

PostPosted: Wed Apr 20, 2005 5:14 am   
 
#TRIGGER {That thing is not here} {#if (%len(@go)>0) {#exec {%left(@go,1)};#noop %delete(@go,0,1)} {#Say Out of directions}}
_________________
Kiasyn
Owner of Legends of Drazon
Coder on Dark Legacy
Check out Talon, an easy IMC connection.
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