|
HawkeyeX Beginner
Joined: 02 Mar 2005 Posts: 20
|
Posted: 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 |
|
|
|
nexela Wizard
Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: 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 |
|
|
|
HawkeyeX Beginner
Joined: 02 Mar 2005 Posts: 20
|
Posted: 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.
|
|
|
|
HawkeyeX Beginner
Joined: 02 Mar 2005 Posts: 20
|
Posted: 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. |
|
|
|
nexela Wizard
Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: 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 |
|
|
|
|
|