Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
PHLN
Adept


Joined: 30 Dec 2001
Posts: 220
Location: Canada

PostPosted: 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?
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: 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
Reply with quote
TonDiening
GURU


Joined: 26 Jul 2001
Posts: 1958
Location: Canada

PostPosted: 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
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net