Hi everyone,
I recently lost a shitload of items to item insurance not being there.
~>EDIT: Middle torso is SASH script below edited!
So I went ahead and made this:
No idea WTF inner, outer legs and middle torseo represent as layers in UOS.
If anyone knows - please drop me a PM, I will change the code accordingly
Have fun using this!
Code itself:
I recently lost a shitload of items to item insurance not being there.
~>EDIT: Middle torso is SASH script below edited!
So I went ahead and made this:
No idea WTF inner, outer legs and middle torseo represent as layers in UOS.
If anyone knows - please drop me a PM, I will change the code accordingly
Have fun using this!
Code itself:
Code:
sysmsg 'Checking items, please stand by...'
//Right Hand - 1
if @findlayer 'self' '1'
waitforproperties 'found' 5000
if @property 'insured' 'found'
sysmsg '>Right Hand item insured!' 162
elseif @property 'Blessed' 'found'
sysmsg '>Right Hand item blessed!' 162
elseif not @property 'insured' 'found' and not @property 'Blessed' 'found'
sysmsg '>>>RIGHT HAND ITEM NOT INSURED!' 33
endif
else
sysmsg '>Nothing in Right Hand or Two-Hander!'153
endif
pause 100
ignoreobject 'found'
@unsetalias 'found'
//Left Hand - 2
if @findlayer 'self' '2'
waitforproperties 'found' 5000
if @property 'insured' 'found'
sysmsg '>Left Hand item insured!' 162
elseif @property 'Blessed' 'found'
sysmsg '>Left Hand item blessed!' 162
elseif not @property 'insured' 'found' and not @property 'Blessed' 'found'
sysmsg '>>>LEFT HAND ITEM NOT INSURED!' 33
endif
else
sysmsg '>Nothing in Left Hand!'153
endif
pause 100
ignoreobject 'found'
@unsetalias 'found'
//Hat - 6
if @findlayer 'self' '6'
waitforproperties 'found' 5000
if @property 'insured' 'found'
sysmsg '>Hat insured!' 162
elseif @property 'Blessed' 'found'
sysmsg '>Hat is blessed!' 162
elseif not @property 'insured' 'found' and not @property 'Blessed' 'found'
sysmsg '>>>HAT NOT INSURED!' 33
endif
else
sysmsg '>No Hat!'153
endif
pause 100
ignoreobject 'found'
@unsetalias 'found'
//Gorget - 10
if @findlayer 'self' '10'
waitforproperties 'found' 5000
if @property 'insured' 'found'
sysmsg '>Gorget insured!' 162
elseif @property 'Blessed' 'found'
sysmsg '>Gorget is blessed!' 162
elseif not @property 'insured' 'found' and not @property 'Blessed' 'found'
sysmsg '>>>GORGET NOT INSURED!' 33
endif
else
sysmsg '>No Gorget!'153
endif
pause 100
ignoreobject 'found'
@unsetalias 'found'
//Inner Torso: 13-Your armour
if @findlayer 'self' '13'
waitforproperties 'found' 5000
if @property 'insured' 'found'
sysmsg '>Body Armour insured!' 162
elseif @property 'Blessed' 'found'
sysmsg '>Body Armour is blessed!' 162
elseif not @property 'insured' 'found' and not @property 'Blessed' 'found'
sysmsg '>>>BODY ARMOUR TORSO NOT INSURED!' 33
endif
else
sysmsg '>No Body Armour!'153
endif
pause 100
ignoreobject 'found'
@unsetalias 'found'
//Outer Torso: 22-Robe
if @findlayer 'self' '22'
waitforproperties 'found' 5000
if @property 'insured' 'found'
sysmsg '>Robe insured!' 162
elseif @property 'Blessed' 'found'
sysmsg '>Robe is blessed!' 162
elseif not @property 'insured' 'found' and not @property 'Blessed' 'found'
sysmsg '>>>ROBE NOT INSURED!' 33
endif
else
sysmsg '>No Robe!'153
endif
pause 100
ignoreobject 'found'
@unsetalias 'found'
//Arms: 19
if @findlayer 'self' '19'
waitforproperties 'found' 5000
if @property 'insured' 'found'
sysmsg '>Arms insured!' 162
elseif @property 'Blessed' 'found'
sysmsg '>Arms is blessed!' 162
elseif not @property 'insured' 'found' and not @property 'Blessed' 'found'
sysmsg '>>>ARMS NOT INSURED!' 33
endif
else
sysmsg '>No Arms!'153
endif
pause 100
ignoreobject 'found'
@unsetalias 'found'
//Gloves - 7
if @findlayer 'self' '7'
waitforproperties 'found' 5000
if @property 'insured' 'found'
sysmsg '>Gloves insured!' 162
elseif @property 'Blessed' 'found'
sysmsg '>Gloves blessed!' 162
elseif not @property 'insured' 'found' and not @property 'Blessed' 'found'
sysmsg '>>>GLOVES NOT INSURED!' 33
endif
else
sysmsg '>No Gloves!'153
endif
pause 100
ignoreobject 'found'
@unsetalias 'found'
//Pants: 4
if @findlayer 'self' '4'
waitforproperties 'found' 5000
if @property 'insured' 'found'
sysmsg '>Pants insured!' 162
elseif @property 'Blessed' 'found'
sysmsg '>Pants blessed!' 162
elseif not @property 'insured' 'found' and not @property 'Blessed' 'found'
sysmsg '>>>PANTS NOT INSURED!' 33
endif
else
sysmsg '>No Pants (You perv!)!'153
endif
pause 100
ignoreobject 'found'
@unsetalias 'found'
//Ring - 8
if @findlayer 'self' '8'
waitforproperties 'found' 5000
if @property 'insured' 'found'
sysmsg '>Ring insured!' 162
elseif @property 'Blessed' 'found'
sysmsg '>Ring is blessed!' 162
elseif not @property 'insured' 'found' and not @property 'Blessed' 'found'
sysmsg '>>>RING NOT INSURED!' 33
endif
else
sysmsg '>No Ring!'153
endif
pause 100
ignoreobject 'found'
@unsetalias 'found'
//Bracelet: 14
if @findlayer 'self' '14'
waitforproperties 'found' 5000
if @property 'insured' 'found'
sysmsg '>Bracelet insured!' 162
elseif @property 'Blessed' 'found'
sysmsg '>Bracelet is blessed!' 162
elseif not @property 'insured' 'found' and not @property 'Blessed' 'found'
sysmsg '>>>BRACELET NOT INSURED!' 33
endif
else
sysmsg '>No Bracelet!'153
endif
pause 100
ignoreobject 'found'
@unsetalias 'found'
//Talisman - 9
if @findlayer 'self' '9'
waitforproperties 'found' 5000
if @property 'insured' 'found'
sysmsg '>Talisman insured!' 162
elseif @property 'Blessed' 'found'
sysmsg '>Talisman is blessed!' 162
elseif not @property 'insured' 'found' and not @property 'Blessed' 'found'
sysmsg '>>>TALISMAN NOT INSURED!' 33
endif
else
sysmsg '>No Talisman!'153
endif
pause 100
ignoreobject 'found'
@unsetalias 'found'
//Boots/Shoes
if @findlayer 'self' '3'
waitforproperties 'found' 5000
if @property 'insured' 'found'
sysmsg '>Shoes are insured!' 162
elseif @property 'Blessed' 'found'
sysmsg '>Shoes are blessed!' 162
elseif not @property 'insured' 'found' and not @property 'Blessed' 'found'
sysmsg '>>>SHOES NOT INSURED!' 33
endif
else
sysmsg '>No Shoes or Boots!'153
endif
pause 100
ignoreobject 'found'
@unsetalias 'found'
//Cloak: 20
if @findlayer 'self' '12'
waitforproperties 'found' 5000
if @property 'insured' 'found'
sysmsg '>Cloak/Quiver insured!' 162
elseif @property 'Blessed' 'found'
sysmsg '>Cloak/Quiver is blessed!' 162
elseif not @property 'insured' 'found' and not @property 'Blessed' 'found'
sysmsg '>>>CLOAK/QUIVER NOT INSURED!' 33
endif
else
sysmsg '>No Cloak/Quiver!'153
endif
pause 100
ignoreobject 'found'
@unsetalias 'found'
//Waist: 12
if @findlayer 'self' '12'
waitforproperties 'found' 5000
if @property 'insured' 'found'
sysmsg '>Waist insured!' 162
elseif @property 'Blessed' 'found'
sysmsg '>Waist is blessed!' 162
elseif not @property 'insured' 'found' and not @property 'Blessed' 'found'
sysmsg '>>>WAIST NOT INSURED!' 33
endif
else
sysmsg '>No Waist!'153
endif
pause 100
ignoreobject 'found'
@unsetalias 'found'
//Shirt
if @findlayer 'self' '5'
waitforproperties 'found' 5000
if @property 'insured' 'found'
sysmsg '>Shirt insured!' 162
elseif @property 'Blessed' 'found'
sysmsg '>Shirt is blessed!' 162
elseif not @property 'insured' 'found' and not @property 'Blessed' 'found'
sysmsg '>>>SHIRT NOT INSURED!' 33
endif
else
sysmsg '>No Shirt!'153
endif
pause 100
ignoreobject 'found'
@unsetalias 'found'
//Earrings: 18
if @findlayer 'self' '18'
waitforproperties 'found' 5000
if @property 'insured' 'found'
sysmsg '>Earrings insured!' 162
elseif @property 'Blessed' 'found'
sysmsg '>Earrings is blessed!' 162
elseif not @property 'insured' 'found' and not @property 'Blessed' 'found'
sysmsg '>>>EARRINGS TORSO NOT INSURED!' 33
endif
else
sysmsg '>No Earrings!'153
endif
pause 100
ignoreobject 'found'
@unsetalias 'found'
//Middle Torso: 17 Sash
if @findlayer 'self' '17'
waitforproperties 'found' 5000
if @property 'insured' 'found'
sysmsg '>Sash insured!' 162
elseif @property 'Blessed' 'found'
sysmsg '>Sash is blessed!' 162
elseif not @property 'insured' 'found' and not @property 'Blessed' 'found'
sysmsg '>>>SASH NOT INSURED!' 33
endif
else
sysmsg '>No Sash!'153
endif
pause 100
ignoreobject 'found'
@unsetalias 'found'
//Outer Legs: 23
if @findlayer 'self' '23'
waitforproperties 'found' 5000
if @property 'insured' 'found'
sysmsg '>Outer Legs insured!' 162
elseif @property 'Blessed' 'found'
sysmsg '>Outer Legs is blessed!' 162
elseif not @property 'insured' 'found' and not @property 'Blessed' 'found'
sysmsg '>>>OUTER LEGS NOT INSURED!' 33
endif
else
sysmsg '>No Outer Legs!'153
endif
pause 100
ignoreobject 'found'
@unsetalias 'found'
//Inner Legs: 24
if @findlayer 'self' '24'
waitforproperties 'found' 5000
if @property 'insured' 'found'
sysmsg '>Inner Legs insured!' 162
elseif @property 'Blessed' 'found'
sysmsg '>Inner Legs is blessed!' 162
elseif not @property 'insured' 'found' and not @property 'Blessed' 'found'
sysmsg '>>>INNER LEGS NOT INSURED!' 33
endif
else
sysmsg '>No Inner Legs!'153
endif
pause 100
ignoreobject 'found'
@unsetalias 'found'
Last edited: