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


Joined: 23 Jun 2003
Posts: 1
Location: Singapore

PostPosted: Mon Jun 23, 2003 6:12 am   

Some newbie questions
 
Hi, I'm trying to create a trigger/alias (not sure which to use).

Example:
When I cast a spell: cast bless
"bless" will be assigned to a variable (@lastspell) and the spell will still be cast.

What I have right now is this:
an alias "c" with the following commands:
#PR lastspell {cast what?};cast @lastspell

But this alias has a popup dialog which is very annoying :P
Is there any other way to do this?

Thanks
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Mon Jun 23, 2003 12:00 pm   
 
#ALIAS cast {#VAR lastspell {%-1};~cast @lastspell}
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