Target alias with out scripting

Posted by Madrox on Tue 13 Jun 2006 03:01 AM — 3 posts, 14,717 views.

#0
Alright, I think this can be done with out scripts because my feble mind can't really figure out scripting in any languages yet.
Basicly, what i need is a alias that sets a global variable like:

target <charname>

then on all my aliases that have the target variable in them IE: cd= <cast dispel target>
it would cast dispel on them and start combat. Saving the time of typing out c dispel <long fantasy mud name>
any idea how i can do this?
Australia Forum Administrator #1

<aliases>

  <alias
   match="cd"
   enabled="y"
   expand_variables="y"
   sequence="100"
  >
  <send>cast dispel @target</send>
  </alias>

  <alias
   match="target *"
   enabled="y"
   variable="target"
   send_to="9"
   sequence="100"
  >
  <send>%1</send>
  </alias>

</aliases>
#2
Thakn you very much, this works perfectly. AND without knowing it. It also made it possible for me to be able to cast the spells while blinded by just typeing TARGET + a space thanks a bunch Mister Gammon :)