Code:
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
sub Plavka() ; Pereplavka rudi
var MaxVes=410
VAR Ing1 = '0x1BEF' ;
VAR Ing2 = '0x1BF2' ;
repeat
UO.Findtype('0x19B9', '-1','0x400B7D14')
If UO.Findcount() == 0 Then
UO.Findtype('0x19B8', '-1','0x400B7D14')
If UO.Findcount() == 0 Then
UO.Findtype('0x19BA', '-1','0x400B7D14')
If UO.Findcount() == 0 Then
UO.Findtype('0x19B7', '-1','0x400B7D14')
If UO.Findcount() == 0 Then
UO.Say( "Bbboy" )
Return
Endif
Endif
Endif
Endif
UO.Exec( "moveitem finditem 1" )
Wait( 1200 )
UO.Useobject( 'finditem' )
Wait( 1200 )
If UO.Weight > MaxVes Then
UO.Findtype( Ing1, -1, -1 )
If UO.Findcount() > 0 Then
UO.Drophere( 'finditem' )
Wait( 1200 )
Endif
UO.Findtype( Ing2, -1, -1 )
If UO.Findcount() > 0 Then
UO.Drophere( 'finditem' )
Wait( 1200 )
Endif
Endif
until uo.findcount()== 0
UO.Say( "Bbboy" )
endsub
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
sub DropOrePol() ; Dropaet govno na pol
VAR n
Dim Drop[10] ; ***
Drop[1] = '0x07A1' ; Это цвета а не тайпы
Drop[2] = '0x07A1' ; Если мало 10 то допиши сколько нужно
Drop[3] = '0x0000' ; изменив цифру на сколько получилось строк там где стоит ***. Изначально [10]
Drop[4] = '0x049A'
Drop[5] = '0x04A5'
Drop[6] = '0x0601'
Drop[7] = '0x052D'
Drop[8] = '0x0488'
Drop[9] = '0x084D'
Drop[10] = '0x060C'
For n = 1 To 10 ; ***
UO.FindType('0x19B9', Drop[n] ,'backpack')
If UO.FindCount() then
UO.MoveItem('finditem', -1 ,'ground')
wait(1000)
Endif
Next
end sub
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
sub DropIngotBank() ; kidaet ingi v bank v
VAR Meshok = '0x400884D7'
VAR Ingots = '0x1BEF'
UO.FindType(Ingots,'-1','-1')
repeat
if UO.GetQuantity('finditem')>0 then
uo.usefromground('0x0ED4')
UO.FindType( Ingots, -1, -1 )
UO.MoveItem( 'finditem', 0, Meshok )
wait( 500 )
until UO.GetQuantity('finditem')==0
UO.Print( 'Kalyan' )
end sub