|
PHLN Adept
Joined: 30 Dec 2001 Posts: 220 Location: Canada
|
Posted: Mon Sep 16, 2002 1:38 pm
Herbs stuff... |
Does anyone know how to make a complicated herbs aliase and triggers? I want it so that if I type herb name_here, it will add the name of the herb into a special variable. Then when I type a aliase, lets use rune, it will get herb_name_that_is_store_in_the_variable twice, then poultice herb_name_that_is_store_in_the_variable, and augment poultice herb_name_that_is_store_in_the_variable, and use it on %1 of rune. And when I type herb new_herb _name .. it will be the new variable until I change it again. Do I even make sense?
|
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Mon Sep 16, 2002 3:05 pm |
This is pretty much word for word from your explanation, as near as I could understand. The "use it on %1" part wasn't clear as to the command and syntax. I took a guess, change it if it's wrong.
#AL herb {#VAR special {%-1}}
#AL rune {get @special;get @special;poultice @special;augment poultice @special;use poultice on %1}
LightBulb
Senior Member |
|
|
|
TonDiening GURU
Joined: 26 Jul 2001 Posts: 1958 Location: Canada
|
Posted: Mon Sep 16, 2002 8:46 pm |
Depends on how complicated you want to get.
#ALIAS Herb {#VAR %1Bag %2}
Use: herb groudcover rune
Use: herb groundcover 2.pouch
#ALIAS mp {get 2*%1 @{%1Bag};unroll roll;make poultice %1;augment poultice %1}
Use: mp fenugreek
#ALIAS mpg {mp groundcover;use poultice %1}
#ALIAS mpf {mp fenugreek;use poultice %1}
Use: mpf SandraMob
Careful the above alias will auto heal you if you don't include a target for %1
Ton Diening |
|
|
|
|
|