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
HawkeyeX
Beginner


Joined: 02 Mar 2005
Posts: 20

PostPosted: Thu Mar 24, 2005 3:01 am   

Two newbie questions..
 
Hi,

I have two questions.

First, I want to set up an alias while I play bard, I have to swap weapon to instrument and sing something.

It goes something like this

remove laced;wield @instrument;sing 'whatever' <optional>;remove @instrument;wield laced

my question is this, can I make an universal alias to do this to sing whatever song i choose? There are several I sing. Some are two words in the sing 'whatever' such as sing 'group inspire'

Second,

I have a warrior that has to rescue thieves who backstabs first, so I set up a basic trigger

#action {@Thief places a} {rescue @thief;@rescue thief}

Problem is, an thief action called 'circle' send the same message. I'd like to turn it off after the first backstab, and then reset after fight is over.

How can I do that?

Thanks!

David
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Thu Mar 24, 2005 3:09 am   
 
#ALIAS sing {remove laced;wield @instrument;~sing '%-1';remove @instrument;wield laced }

And just use it like you normaly would use sing

#action {@Thief places a} {#IF (@count=0) {rescue @thief;@rescue thief};#ADD count 1}
#action {is DEAD!} {count=0}

Obviously tailor the is DEAD trigger to your mud
_________________
Zmud Support Library
Zmud Knowledge Base
Reply with quote
HawkeyeX
Beginner


Joined: 02 Mar 2005
Posts: 20

PostPosted: Thu Mar 24, 2005 3:27 am   
 
K. thanks. But what about the person I'm singing to (that's why I said <optional> on my singing question.
Reply with quote
HawkeyeX
Beginner


Joined: 02 Mar 2005
Posts: 20

PostPosted: Thu Mar 24, 2005 3:33 am   
 
Oh and one more thing. I need a backup rescue in case I fail rescue. How do I do that?

The failed rescue is this: You fail the rescue.
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Thu Mar 24, 2005 3:51 am   
 
#TR {You fail the rescue.} {rescue @thief}

#ALIAS sing {remove laced;wield @instrument;~sing '%1' %2;remove @instrument;wield laced }
sing 'my song' person

You will have to use the quotes though
_________________
Zmud Support Library
Zmud Knowledge Base
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