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

Grab
http://forum.yoko.com.ua/viewtopic.php?f=1&t=4919
Page 1 of 1

Author:  EusowEu [ 2005-08-23 22:55:32 ]
Post subject:  Grab

Is there a way to make a script where u ,grab everything around u thats on the floor within a distance of 2tiles?

Author:  flake [ 2005-08-24 00:02:03 ]
Post subject: 

Code:
sub GrabAll()
UO.Ignore( 'self' )
UO.Set( 'finddistance', '2' )
  Repeat
  UO.FindType( '-1', '-1', 'ground' )
  UO.Grab( '1', 'finditem' )
  Until UO.FindCount() == 0
endsub

Author:  EusowEu [ 2005-08-26 00:32:28 ]
Post subject: 

it doesnt work, my uo freeze when i try to use it

Author:  Leo [ 2005-08-26 11:38:23 ]
Post subject: 

You try to grab everything. Maybe there are too many different items around you?

Author:  Redneck [ 2005-08-27 17:18:04 ]
Post subject: 

maybe adding a wait should do the trick

Author:  Leo [ 2005-08-27 17:20:34 ]
Post subject: 

Code:
sub GrabAll() 
UO.Ignore( 'self' )
UO.Set( 'finddistance', '2' )
  Repeat
  UO.FindType( '-1', '-1', 'ground' )
  UO.Grab( '1', 'finditem' )
  wait(500)
  Until UO.FindCount() == 0
endsub

You're right :wink:

Author:  Br|hair [ 2005-09-09 19:11:33 ]
Post subject: 

[ quote=".Leo"][.code].sub GrabAll()
UO.Ignore("self ') UO.Set("finddistance ', "2 ') Repeat UO.FindType('
- 1', ' - 1 ', ' ground ') UO.Grab(' 1'," finditem ') wait(500) Until
UO.FindCount() == to 0 endsub[/.code ] You're right:.shink:[/.tsuote
]

When i try to use this scritp , it pause at "UO.Set("finddistance ', "2 ')"
Why ?
why dont work if me ?
ty

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