YASSE TM (script)
Jump to navigation
Jump to search
This is part of the YASSE Combat Package.
Last Updated:
- --Hithrael 06:05, 14 November 2010 (UTC)
#Looting variables set predefined on setglobalvariable yetarrange [no] setglobalvariable knife [skinning knife] setglobalvariable arrangenumber [0] setglobalvariable skinningknifemessage [wrist sheath] setglobalvariable skinmax [3] setup: echo [Enter target (creature or location).] getline setvariable spell pd setvariable mana 15 prep: match target You trace match target You are already put prep $spell$ $mana$ matchwait target: match face You are not engaged match cast You begin to weave match pausing put target matchwait cast: pause 2 match prep You gesture at match release The secondary spell pattern put cast matchwait face: gosub loot pause match pausing There is nothing else to face! match prep You turn to face put face next matchwait pausing: put release waitfor closes to pole goto prep release: put release goto face end: exit loot: setglobalvariable huntingweapon [%righthanditem] pause put look nextroom skin: if %youalsosee contains dead begin call skin pause end lootstuff: pause call loot pause if %righthanditem contains empty begin if $huntingweapon$ contains empty return pause put wield $huntingweapon$ pause end pause return