I've created a very simple targetting system using the help files Nick has made in the FAQ. Now I've created several other aliases that help me display my target and change my mudlevel aliases to ease of use. What I'm trying to do, and what I have no idea of how to go about doing is how to combine some of these into one single alias. I'll post the following aliases seperately and show which ones I'm attempting to combine with which.
<aliases>
<alias
match="x *"
enabled="y"
expand_variables="y"
variable="target"
send_to="9"
sequence="100"
>
<send>%1
</send>
</alias>
</aliases>
This is my targetting alias as you can see.
<aliases>
<alias
match="xx"
enabled="y"
expand_variables="y"
send_to="2"
sequence="100"
>
<send>Prey is now: @target</send>
</alias>
</aliases>
Typing this displays who my target is, it is a seperate alias and I'm trying to make it so that when I type x *, it displays the line Prey is now: @target without the additional xx alias.
<aliases>
<alias
match="setit"
enabled="y"
expand_variables="y"
sequence="100"
>
<send>alias hh hunt @target
alias kk do kill @target,headbutt @target
alias hb headbutt @target
alias q trigger @target todo strike @target
alias t do headbutt @target,ram @target
alias r do hunt @target,drink mixed potion,2wear ring from pack,2wear ring from cloak,2detach gem,wear bands from pack,wear gloves from pack,draw @weapon,wield staff from pack,press button,backstab @target,3shape @target</send>
</alias>
</aliases>
This is the alias I have to type in order to change my mudlevel aliases. Is there a way I can get all of these to function just by typing x *? Any help in the right direction would be greatly appreciated.
Azo.
<aliases>
<alias
match="x *"
enabled="y"
expand_variables="y"
variable="target"
send_to="9"
sequence="100"
>
<send>%1
</send>
</alias>
</aliases>
This is my targetting alias as you can see.
<aliases>
<alias
match="xx"
enabled="y"
expand_variables="y"
send_to="2"
sequence="100"
>
<send>Prey is now: @target</send>
</alias>
</aliases>
Typing this displays who my target is, it is a seperate alias and I'm trying to make it so that when I type x *, it displays the line Prey is now: @target without the additional xx alias.
<aliases>
<alias
match="setit"
enabled="y"
expand_variables="y"
sequence="100"
>
<send>alias hh hunt @target
alias kk do kill @target,headbutt @target
alias hb headbutt @target
alias q trigger @target todo strike @target
alias t do headbutt @target,ram @target
alias r do hunt @target,drink mixed potion,2wear ring from pack,2wear ring from cloak,2detach gem,wear bands from pack,wear gloves from pack,draw @weapon,wield staff from pack,press button,backstab @target,3shape @target</send>
</alias>
</aliases>
This is the alias I have to type in order to change my mudlevel aliases. Is there a way I can get all of these to function just by typing x *? Any help in the right direction would be greatly appreciated.
Azo.