Page 1 of 1
[ERROR]
Posted: 2009-03-15 18:16:56
by Azt
sub eggs()
if UO.ObjAtLayer('Torso') == "" THEN
uo.exec ("equipt Torso 0x277d")
wait (600)
END IF
end sub
where is the error?
Posted: 2009-03-18 06:47:47
by Millerbeer
Code: Select all
sub eggs()
if not UO.ObjAtLayer('Torso') THEN
uo.equipt ('Torso', '0x277d')
wait (600)
END IF
end sub
Posted: 2009-03-21 14:25:12
by Azt
mh no... i need a script that if there is at layer "egg" ITEM X, it disequip THEN Equip ITEM Y
so with ONE KEY, TWO item SWITCH
Posted: 2009-03-22 19:53:44
by Millerbeer
Code: Select all
sub eggs()
if not UO.ObjAtLayer('Torso') THEN
uo.equipt ('Torso', 'Item X')
wait (600)
else
if uo.objatlayer('Torso')=='Item X' then
uo.unequip('Torso')
wait(600)
uo.equip('Torso','Item Y')
wait(600)
else
if uo.objatlayer('Torso')=='Item Y' then
uo.unequip('Torso')
wait(600)
uo.equip('Torso','Item X')
wait(600)
endif
endif
END IF
end sub