Yoko

All sides of Injection
It is currently 2024-03-29 01:15:21

All times are UTC+02:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
 Post subject: [ERROR]
PostPosted: 2009-03-15 18:16:56 
Offline

Joined: 2007-09-03 16:31:57
Posts: 43
sub eggs()
   if UO.ObjAtLayer('Torso') == "" THEN
       uo.exec ("equipt Torso 0x277d")
       wait (600)
    END IF
end sub

where is the error?


Top
   
 Post subject:
PostPosted: 2009-03-18 06:47:47 
Offline
User avatar

Joined: 2008-09-12 05:07:34
Posts: 247
Code:
sub eggs() 
   if not UO.ObjAtLayer('Torso')  THEN
       uo.equipt ('Torso', '0x277d')
       wait (600)
    END IF
end sub


Top
   
 Post subject:
PostPosted: 2009-03-21 14:25:12 
Offline

Joined: 2007-09-03 16:31:57
Posts: 43
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


Top
   
 Post subject:
PostPosted: 2009-03-22 19:53:44 
Offline
User avatar

Joined: 2008-09-12 05:07:34
Posts: 247
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


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 4 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 14 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited