Yoko

All sides of Injection
It is currently 2026-02-05 23:54:50

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 2009-01-19 21:06:08 
Offline

Joined: 2009-01-19 20:54:37
Posts: 5
суть в том что нужен скриптик где чар будет считать сколько на земле денег и брать оттуда необходимую сумму, в случае если денег оказалось достаточно, то чар делает определённое действие. скриптик на сбор денег примерно такой:
Code:
sub GrabMoney() 
UO.Set('finddistance','4')
UO.FindType('0x0DCA','-1','ground')
wait(100)
  if UO.FindCount()>7000 then
uo.countground("0x0EED")
uo.grab("7000","~0x0EED")
wait(300)

endsub

а как реализовать чтобы он считал сколько взял или сколько положили?[/code][/quote]


Top
   
 Post subject:
PostPosted: 2009-01-27 21:01:59 
Offline

Joined: 2009-01-19 20:54:37
Posts: 5
никто не знает что ли? :(


Top
   
 Post subject:
PostPosted: 2009-01-28 09:39:38 
Offline
Expert!
User avatar

Joined: 2004-04-04 11:13:54
Posts: 1205
Location: Балаково, Саратовская обл.
Code:
sub GrabMoney() 
UO.Set('finddistance','4')
UO.FindType('0x0DCA','-1','ground') ; это что?
wait(100)
  if UO.FindCount()>7000 then
uo.countground("0x0EED") ; это зачем?
uo.grab("7000","~0x0EED")
uo.print(STR(uo.getquantity("_0x0EED")))
wait(300)

endsub


И endif ещё где то у тебя потерялся...


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

All times are UTC+02:00


Who is online

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