Destruction
Пасиб за работу, все отлично работает!
Вот на все реагенты, если кому-нибудь пригодится:
Code:
sub chekss()
VAR sunduks = '0x40221ABF'
uo.print( str( my.count( '0x0F88', '0x0000', sunduks ) ) + " ns" )
uo.print( str( my.count( '0x0F85', '0x0000', sunduks ) ) + " gi" )
uo.print( str( my.count( '0x0F86', '0x0000', sunduks ) ) + " mr" )
uo.print( str( my.count( '0x0F8C', '0x0000', sunduks ) ) + " sa" )
uo.print( str( my.count( '0x0F7B', '0x0000', sunduks ) ) + " bm" )
uo.print( str( my.count( '0x0F84', '0x0000', sunduks ) ) + " ga" )
uo.print( str( my.count( '0x0F8D', '0x0000', sunduks ) ) + " ss" )
uo.print( str( my.count( '0x0F7A', '0x0000', sunduks ) ) + " bp" )
end sub
Sub my.count( type, color, container )
var count = 0
uo.findtype( type, color, container )
while uo.findcount()
count = count + uo.getQuantity( 'finditem' )
uo.ignore( 'finditem' )
uo.findtype( type, color, container )
wend
uo.ignorereset()
return count
endsub