YASSE Armor (script)

From Elanthipedia
Revision as of 16:35, 30 March 2011 by Maintenance script (talk | contribs) (Created page with '{{Script |cat=utility |fe=YASSE |auth=Hithrael }} ==Description== Wears or unwears armor. Values determined by YASSE Global Variables (script). ==Syntax=…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
YASSE Armor (script)
Category utility
Front-end YASSE
Author Hithrael


Description

Wears or unwears armor. Values determined by YASSE Global Variables (script).

Syntax

Run as .scriptname <on/off>, where on is to put on armor, and off is to remove it.

Updates

Last Updated:

  • 03/30/2011: Revision 2

Script

action [can't fit over] put [stow right]

goto %1

off:
echo [Removing armor]
pause
put rem my $armorhead$
put stow my $armorhead$
pause
put rem my $armormain$
put stow my $armormain$
pause
put rem my $armorhand$
put stow my $armorhand$
pause
put rem my $armorleg$
put stow my $armorleg$
pause
put rem my $armoreye$
put stow my $armoreye$
pause
put rem my $shield$
put stow my $shield$
goto end

on:
echo [Donning armor]
pause
put get my $armorhead$
put wear my $armorhead$
pause
put get my $armormain$
put wear my $armormain$
pause
put get my $armorhand$
put wear my $armorhand$
pause
put get my $shield$
put wear my $shield$
pause
put get my $armorleg$
put wear my $armorleg$
pause
put get my $armoreye$
put wear my $armoreye$
pause
goto end

end:
pause
put sort auto headtotoe
echo [Done]