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
Tygerhart
Novice


Joined: 04 Oct 2001
Posts: 43
Location: Canada

PostPosted: Thu Feb 05, 2004 12:30 pm   

Buttons and Original alias values...
 
Hi all!

I love this place. Everybody knows waaaay more than me. Smile

I've got a question about Buttons and alias'.

Here's what I want to do. I want to make an alias that will make space combat a little easer for me. For instance... I've made an alias for evade <object>, so now it's "e <object>. Of course you can probably see the problem now. "e" is also the alias for "east".

So thinking I could fix it by making a button to turn it on when I'm at the helm and off when I was out exploring... I made a toggle button and attached this alias to it...

ALIAS e

VALUE (@helmbut) {evade %1}

But now it not only shuts of the alias, but it won't let e go back to it's original value. (If I manually turn parsing off it will go back to it's original value... i think the answer is there somewhere, but it elludes me).

Any suggestions would be greatly appreciated.

Thanks once again in advance,

Tygerhart
Reply with quote
megamog75
Enchanter


Joined: 20 Nov 2002
Posts: 627
Location: USA

PostPosted: Thu Feb 05, 2004 3:03 pm   
 
Good start, it just went awriy
There are several ways to do this
1)#alias e {evade %1}
put this into your toggle button:
on: #t+ e off: #t- e

2)#alias ev {evade %1}
which will skip the need for a toggle switch.

theres more but you get the idea.
Reply with quote
Tygerhart
Novice


Joined: 04 Oct 2001
Posts: 43
Location: Canada

PostPosted: Thu Feb 05, 2004 3:30 pm   
 
quote:
Originally posted by megamog75

Good start, it just went awriy
There are several ways to do this
1)#alias e {evade %1}
put this into your toggle button:
on: #t+ e off: #t- e



Thanks!

Works like a charm! [8D]

Tygerhart
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