Yoko

All sides of Injection
It is currently 2025-12-11 21:41:17

All times are UTC+02:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: 2005-08-15 11:58:21 
Offline

Joined: 2005-05-28 12:04:30
Posts: 3
i made this script to send money during champions using the bag of sending.
My problem is when the bag of sending runs out of charges.
How can i detect this? when the bag is out of charges, using it doesn't shows up the target, so how can i detect this?

Code:
sub checkweight()
var weightmax=uo.str*3.5 # real max is 40+(uo.str*3.5)
if UO.weight >= weightmax then
      uo.print('MAX weight reached, sending money')
      uo.findtype('POF','-1','backpack')
      uo.waittargetobject('finditem')
      uo.useobject('bagsending')
endif
endsub


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 7 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