Yoko

All sides of Injection
It is currently 2026-03-10 12:55:36

All times are UTC+02:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 2004-07-21 00:20:36 
Offline

Joined: 2004-07-20 18:57:51
Posts: 8
Code:
sub checakeg()
if uo.injournal("O barril esta vazio") then
uo.exec("setcatchbag bau")
uo.exec("usetype keg")
uo.exec("grab 1 lastobject")
uo.exec("unsetcatchbag")
uo.deletejournal()
endif
endsub


this code was about to check if the keg is empty and then throw it in the container "bau"

but i get both messages "You cannot move that" "You cannot unequip that"
if i just drag the potion keg with the mouse it falls in "bau" but it doesn´t via grab command. Why is that? any solutions?


Top
   
 Post subject:
PostPosted: 2004-07-21 01:12:06 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
do not mix setcatchbag and setreceivingcontainer!


Top
   
 Post subject:
PostPosted: 2004-07-21 05:05:04 
Offline

Joined: 2004-07-20 18:57:51
Posts: 8
i didn,t get it...

what are the uses for setreceivingcontainer other than a target for emptycontainer???

how would this command fit in the situation?

thanx


Top
   
 Post subject:
PostPosted: 2004-07-21 16:44:53 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
it also set container for grab command


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 2 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:  
Powered by phpBB® Forum Software © phpBB Limited