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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » Finished MUD Scripts
coldcut
Beginner


Joined: 09 Apr 2003
Posts: 17
Location: USA

PostPosted: Thu Nov 06, 2003 7:48 pm   

Avatar Equipment Script
 
Another neat script for the game Avatar. This script will quickly store and swap equipment for various modes. You may need to adjust aliases based on what containers you have and what alternate eq you have that differs from your main eq. The main advantage of this script is that it captures variables based on what you are currently wearing and stores that info so you can switch eq to an alternate mode and back.

#class EQUIPS
#trigger {~<worn on head~>(%S)a (%*)(%S)(%*)} {#var head %2}
#trigger {~<worn on head~>(%S)an (%*)(%S)(%*)} {#var head %2}
#trigger {~<worn on head~>(%S)the (%*)(%S)(%*)} {#var head %2}
#trigger {~<worn on head~>(%S)(%*)(%S)(%*)} {#var head %4}
#trigger {~<worn on head~>(%S)~(Glowing~)(%S)(%*)(%S)(%*)} {%remove ;#var head %5}
#trigger {~<worn on head~>(%S)~(Humming~)(%S)(%*)(%S)(%*)} {%remove ;#var head %5}

#trigger {~<used as light~>(%S)a (%*)(%S)(%*)} {#var light %2}
#trigger {~<used as light~>(%S)an (%*)(%S)(%*)} {#var light %2}
#trigger {~<used as light~>(%S)the (%*)(%S)(%*)} {#var light %2}
#trigger {~<used as light~>(%S)(%*)(%S)(%*)} {#var light %4}
#trigger {~<used as light~>(%S)~(Glowing~)(%S)(%*)(%S)(%*)} {%remove ;#var light %5}
#trigger {~<used as light~>(%S)~(Humming~)(%S)(%*)(%S)(%*)} {%remove ;#var light %5}

#trigger {~<worn on arms~>(%S)a (%*)(%S)(%*)} {#var arms %4}
#trigger {~<worn on arms~>(%S)an (%*)(%S)(%*)} {#var arms %4}
#trigger {~<worn on arms~>(%S)the (%*)(%S)(%*)} {#var arms %4}
#trigger {~<worn on arms~>(%S)(%*)(%S)(%*)} {#var arms %4}
#trigger {~<worn on arms~>(%S)~(Glowing~)(%S)(%*)(%S)(%*)} {%remove ;#var arms %5}
#trigger {~<worn on arms~>(%S)~(Humming~)(%S)(%*)(%S)(%*)} {%remove ;#var arms %5}

#trigger {~<worn on feet~>(%S)a (%*)(%S)(%*)} {#var feet %2}
#trigger {~<worn on feet~>(%S)an (%*)(%S)(%*)} {#var feet %2}
#trigger {~<worn on feet~>(%S)the (%*)(%S)(%*)} {#var feet %2}
#trigger {~<worn on feet~>(%S)(%*)(%S)(%*)} {#var feet %4}
#trigger {~<worn on feet~>(%S)~(Glowing~)(%S)(%*)(%S)(%*)} {%remove ;#var feet %5}
#trigger {~<worn on feet~>(%S)~(Humming~)(%S)(%*)(%S)(%*)} {%remove ;#var feet %5}

#trigger {~<worn on hands~>(%S)a (%*)(%S)(%*)} {#var hands %2}
#trigger {~<worn on hands~>(%S)an (%*)(%S)(%*)} {#var hands %2}
#trigger {~<worn on hands~>(%S)the (%*)(%S)(%*)} {#var hands %2}
#trigger {~<worn on hands~>(%S)(%*)(%S)(%*)} {#var hands %4}
#trigger {~<worn on hands~>(%S)~(Glowing~)(%S)(%*)(%S)(%*)} {%remove ;#var hands %5}
#trigger {~<worn on hands~>(%S)~(Humming~)(%S)(%*)(%S)(%*)} {%remove ;#var hands %5}

#trigger {~<worn on wrist~>(%S)a (%*)(%S)(%*)} {#var wrist %2}
#trigger {~<worn on wrist~>(%S)an (%*)(%S)(%*)} {#var wrist %2}
#trigger {~<worn on wrist~>(%S)the (%*)(%S)(%*)} {#var wrist %2}
#trigger {~<worn on wrist~>(%S)(%*)(%S)(%*)} {#var wrist %4}
#trigger {~<worn on wrist~>(%S)~(Glowing~)(%S)(%*)(%S)(%*)} {%remove ;#var wrist %5}
#trigger {~<worn on wrist~>(%S)~(Humming~)(%S)(%*)(%S)(%*)} {%remove ;#var wrist %5}

#trigger {~<worn on body~>(%S)a (%*)(%S)(%*)} {#var body %2}
#trigger {~<worn on body~>(%S)an (%*)(%S)(%*)} {#var body %2}
#trigger {~<worn on body~>(%S)the (%*)(%S)(%*)} {#var body %2}
#trigger {~<worn on body~>(%S)(%*)(%S)(%*)} {#var body %4}
#trigger {~<worn on body~>(%S)~(Glowing~)(%S)(%*)(%S)(%*)} {%remove ;#var body %5}
#trigger {~<worn on body~>(%S)~(Humming~)(%S)(%*)(%S)(%*)} {%remove ;#var body %5}

#trigger {~<worn on legs~>(%S)a (%*)(%S)(%*)} {#var legs %2}
#trigger {~<worn on legs~>(%S)an (%*)(%S)(%*)} {#var legs %2}
#trigger {~<worn on legs~>(%S)the (%*)(%S)(%*)} {#var legs %2}
#trigger {~<worn on legs~>(%S)(%*)(%S)(%*)} {#var legs %4}
#trigger {~<worn on legs~>(%S)~(Glowing~)(%S)(%*)(%S)(%*)} {%remove ;#var legs %5}
#trigger {~<worn on legs~>(%S)~(Humming~)(%S)(%*)(%S)(%*)} {%remove ;#var legs %5}


#trigger {~<worn on finger~>(%S)a (%*)(%S)(%*)} {#var finger %2}
#trigger {~<worn on finger~>(%S)an (%*)(%S)(%*)} {#var finger %2}
#trigger {~<worn on finger~>(%S)the (%*)(%S)(%*)} {#var finger %2}
#trigger {~<worn on finger~>(%S)(%*)(%S)(%*)} {#var finger %4}
#trigger {~<worn on finger~>(%S)~(Glowing~)(%S)(%*)(%S)(%*)} {%remove ;#var finger %5}
#trigger {~<worn on finger~>(%S)~(Humming~)(%S)(%*)(%S)(%*)} {%remove ;#var finger %5}

#trigger {~<worn about waist~>(%S)a (%*)(%S)(%*)} {#var waist %2}
#trigger {~<worn about waist~>(%S)an (%*)(%S)(%*)} {#var waist %2}
#trigger {~<worn about waist~>(%S)the (%*)(%S)(%*)} {#var waist %2}
#trigger {~<worn about waist~>(%S)(%*)(%S)(%*)} {#var waist %4}
#trigger {~<worn about waist~>(%S)~(Glowing~)(%S)(%*)(%S)(%*)} {%remove ;#var waist %5}
#trigger {~<worn about waist~>(%S)~(Humming~)(%S)(%*)(%S)(%*)} {%remove ;#var waist %5}

#trigger {~<worn about body~>(%S)a (%*)(%S)(%*)} {#var about %2}
#trigger {~<worn about body~>(%S)an (%*)(%S)(%*)} {#var about %2}
#trigger {~<worn about body~>(%S)the (%*)(%S)(%*)} {#var about %2}
#trigger {~<worn about body~>(%S)(%*)(%S)(%*)} {#var about %4}
#trigger {~<worn about body~>(%S)~(Glowing~)(%S)(%*)(%S)(%*)} {%remove ;#var about %5}
#trigger {~<worn about body~>(%S)~(Humming~)(%S)(%*)(%S)(%*)} {%remove ;#var about %5}

#trigger {~<held~>(%S)a (%*)(%S)(%*)} {#var held %2}
#trigger {~<held~>(%S)an (%*)(%S)(%*)} {#var held %2}
#trigger {~<held~>(%S)the (%*)(%S)(%*)} {#var held %2}
#trigger {~<held~>(%S)(%*)(%S)(%*)} {#var held %4}
#trigger {~<held~>(%S)~(Glowing~)(%S)(%*)(%S)(%*)} {%remove ;#var held %5}
#trigger {~<held~>(%S)~(Humming~)(%S)(%*)(%S)(%*)} {%remove ;#var held %5}

#trigger {~<worn around neck~>(%S)a (%*)(%S)(%*)} {#var neck %2}
#trigger {~<worn around neck~>(%S)an (%*)(%S)(%*)} {#var neck %2}
#trigger {~<worn around neck~>(%S)the (%*)(%S)(%*)} {#var neck %2}
#trigger {~<worn around neck~>(%S)(%*)(%S)(%*)} {#var neck %4}
#trigger {~<worn around neck~>(%S)~(Glowing~)(%S)(%*)(%S)(%*)} {%remove ;#var neck %5}
#trigger {~<worn around neck~>(%S)~(Humming~)(%S)(%*)(%S)(%*)} {%remove ;#var neck %5}

#trigger {~<held in offhand~>(%S)a (%*)(%S)(%*)} {#var offhand %2}
#trigger {~<held in offhand~>(%S)an (%*)(%S)(%*)} {#var offhand %2}
#trigger {~<held in offhand~>(%S)the (%*)(%S)(%*)} {#var offhand %2}
#trigger {~<held in offhand~>(%S)(%*)(%S)(%*)} {#var offhand %4}
#trigger {~<held in offhand~>(%S)~(Glowing~)(%S)(%*)(%S)(%*)} {%remove ;#var offhand %5}
#trigger {~<held in offhand~>(%S)~(Humming~)(%S)(%*)(%S)(%*)} {%remove ;#var offhand %5}

#trigger {you bash(%*)goes down} {wear @offhand}

#alias {kangify} {rem %1;put %1 kanga}
#alias {roome} {get %1 kanga;wear %1}
#alias {stash} {rem %1;put %1 hold}
#alias {equip} {get %1 hold;wear %1}
#alias {scann} {eq;equip helm;equip white;scan;stash helm;wear @head;stash white;wear @held}
#alias {getup} {stand;kangify mush;kangify mush;kangify feather;wear @neck;wear @neck;wear @held}
#alias {tickage} {eq;#wait 2000;rem @neck;rem @neck;rem @held;roome mush;roome mush;roome feather;sleep}
#alias {leveleq} {eq;#wait 2000;rem @neck;rem @neck;rem @held;roome mush;roome mush;roome feather}
#alias {unlevel} {kangify mush;kangify mush;kangify feather;wear @neck;wear @neck;wear @held}
#alias {praceq} {eq;#wait 1000;rem @neck;rem @neck;roome loupe;roome mantle;roome mantle;roome jewel}
#alias {unprac} {kangify mantle;kangify mantle;kangify loupe;kangify jewel;wear @neck;wear @neck;wear @held;wear @head}
#alias {travel} {eq;#wait 1000;equip rat;equip specta;equip elven;equip wings;equip pebble}
#alias {untravel} {stash rat;stash specta;stash elven;stash pebble;stash wings;wear @head;wear @finger;wear @feet;wear @arms;wear @held}
#alias {spellguard} {eq;equip cloak;equip crest;equip magi;equip green;rem ring;rem ring;equip signet;equip signet;equip boots;equip tunic}
#alias {spellsafe} {stash crest;stash magi;stash green;stash signet;stash signet;stash boots;stash tunic;wear @finger;wear @finger;wear @feet;wear @body;wear @about;wear @held;wear @neck}
#alias {tankme} {eq;#wait 1000;roome shield;roome pants;roome moon;roome gloves;roome girdle;roome skin}
#alias {untank} {kangify shield;wear @offhand;kangify pants;wear @legs;kangify moon;wear @light;kangify skin;wear @body;kangify girdle;wear @waist;kangify glove;wear @hands}
#class 0
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » Finished MUD Scripts 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