Aliases - Expand variables - Menus

Posted by Vaejor on Sun 04 Aug 2002 12:29 AM — 2 posts, 13,185 views.

#0
I think I found a quirk in aliases that use the menu.

If I type in the alias, it will expand variables correctly, but if I click the menu item, it will not expand the variable name at all.

  <alias
   name="m1_hold_last_talisman_from_bag"
   match="zhkt"
   enabled="y"
   expand_variables="y"
   menu="y"
  >
  <send>unkeep talisman
remove talisman
put talisman in bag
get talisman @a_talisman_count from bag
wear talisman
keep talisman
hold talisman</send>
  </alias>

<variable name="a_talisman_count">6</variable>
Australia Forum Administrator #1
Oops. Fixed in 3.24.

Also, you can now have variables in an alias which is a speedwalk.