Yoko
http://forum.yoko.com.ua/

[ERROR]
http://forum.yoko.com.ua/viewtopic.php?f=20&t=14549
Page 1 of 1

Author:  Azt [ 2009-03-15 18:16:56 ]
Post subject:  [ERROR]

sub eggs()
   if UO.ObjAtLayer('Torso') == "" THEN
       uo.exec ("equipt Torso 0x277d")
       wait (600)
    END IF
end sub

where is the error?

Author:  Millerbeer [ 2009-03-18 06:47:47 ]
Post subject: 

Code:
sub eggs() 
   if not UO.ObjAtLayer('Torso')  THEN
       uo.equipt ('Torso', '0x277d')
       wait (600)
    END IF
end sub

Author:  Azt [ 2009-03-21 14:25:12 ]
Post subject: 

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

Author:  Millerbeer [ 2009-03-22 19:53:44 ]
Post subject: 

Code:
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

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/