Don't forget, you can log in with your Play.net account
YASSE Armor (script): Difference between revisions
Jump to navigation
Jump to search
m (Created page with '{{Script |cat=utility |fe=YASSE |auth=Hithrael }} ==Description== Wears or unwears armor. Values determined by YASSE Global Variables (script). ==Syntax=…') |
m (updated to 2.1) |
||
Line 13: | Line 13: | ||
==Updates== |
==Updates== |
||
Last Updated: |
Last Updated: |
||
*'''04/12/2011''': Revision 2.1, skips leg and eye armor if the variables are not set under global, put in pausetext strings to skip armor if an armor is worn that is not from the default. |
|||
*'''03/30/2011''': Revision 2 |
*'''03/30/2011''': Revision 2 |
||
Line 28: | Line 29: | ||
put rem my $armorhead$ |
put rem my $armorhead$ |
||
put stow my $armorhead$ |
put stow my $armorhead$ |
||
pausetext 05 You put |
|||
pause |
pause |
||
put rem my $armormain$ |
put rem my $armormain$ |
||
put stow my $armormain$ |
put stow my $armormain$ |
||
pausetext 05 You put |
|||
pause |
pause |
||
put rem my $armorhand$ |
put rem my $armorhand$ |
||
put stow my $armorhand$ |
put stow my $armorhand$ |
||
pausetext 05 You put |
|||
pause |
pause |
||
ifexists $armorleg$ |
|||
begin |
|||
⚫ | |||
put rem my $armorleg$ |
|||
⚫ | |||
pausetext 05 You put |
|||
end |
|||
pause |
pause |
||
ifexists $armoreyes$ |
|||
⚫ | |||
begin |
|||
⚫ | |||
⚫ | |||
⚫ | |||
pausetext 05 You take |
|||
end |
|||
pause |
pause |
||
put rem my $shield$ |
put rem my $shield$ |
||
put stow my $shield$ |
put stow my $shield$ |
||
pausetext 05 You put |
|||
goto end |
goto end |
||
Line 50: | Line 63: | ||
put get my $armorhead$ |
put get my $armorhead$ |
||
put wear my $armorhead$ |
put wear my $armorhead$ |
||
pausetext 05 on your head |
|||
pause |
pause |
||
put get my $armormain$ |
put get my $armormain$ |
||
put wear my $armormain$ |
put wear my $armormain$ |
||
pausetext 05 You work |
|||
pause |
pause |
||
put get my $armorhand$ |
put get my $armorhand$ |
||
put wear my $armorhand$ |
put wear my $armorhand$ |
||
pausetext 05 You slip |
|||
pause |
pause |
||
put get my $shield$ |
put get my $shield$ |
||
put wear my $shield$ |
put wear my $shield$ |
||
pausetext 05 You slide |
|||
pause |
pause |
||
ifexists $armorleg$ |
|||
begin |
|||
⚫ | |||
put get my $armorleg$ |
|||
⚫ | |||
end |
|||
pause |
pause |
||
ifexists $armoreyes$ |
|||
⚫ | |||
begin |
|||
⚫ | |||
⚫ | |||
⚫ | |||
pausetext 05 You put |
|||
end |
|||
pause |
pause |
||
goto end |
goto end |
||
Line 72: | Line 96: | ||
put sort auto headtotoe |
put sort auto headtotoe |
||
echo [Done] |
echo [Done] |
||
</pre> |
</pre> |
Revision as of 12:50, 12 April 2011
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:
- 04/12/2011: Revision 2.1, skips leg and eye armor if the variables are not set under global, put in pausetext strings to skip armor if an armor is worn that is not from the default.
- 03/30/2011: Revision 2
Script
(Select All)action [can't fit over] put [stow right] goto %1 off: echo [Removing armor] pause put rem my $armorhead$ put stow my $armorhead$ pausetext 05 You put pause put rem my $armormain$ put stow my $armormain$ pausetext 05 You put pause put rem my $armorhand$ put stow my $armorhand$ pausetext 05 You put pause ifexists $armorleg$ begin put rem my $armorleg$ put stow my $armorleg$ pausetext 05 You put end pause ifexists $armoreyes$ begin put rem my $armoreye$ put stow my $armoreye$ pausetext 05 You take end pause put rem my $shield$ put stow my $shield$ pausetext 05 You put goto end on: echo [Donning armor] pause put get my $armorhead$ put wear my $armorhead$ pausetext 05 on your head pause put get my $armormain$ put wear my $armormain$ pausetext 05 You work pause put get my $armorhand$ put wear my $armorhand$ pausetext 05 You slip pause put get my $shield$ put wear my $shield$ pausetext 05 You slide pause ifexists $armorleg$ begin put get my $armorleg$ put wear my $armorleg$ end pause ifexists $armoreyes$ begin put get my $armoreye$ put wear my $armoreye$ pausetext 05 You put end pause goto end end: pause put sort auto headtotoe echo [Done]