прицел ->
тык на итем
тык на итем
тык на итем
....
тык на себя
И все ето вылетело бы в окошке info
с виде массива

ы ?
Moderators: Murderator+, Murderator
Code: Select all
DIM test[n]#Сдесь типо сколько я натыкаю столько и буид :D
test[1]='0x00000000'
....
test[10]='0x00000000'
Code: Select all
sub main()
var i = 0
repeat
uo.addObject( "obj" )
while uo.targeting()
wait( 100 )
wend
if not uo.getserial( "obj" ) == "0x00000000" then
if uo.getName( "obj" ) == "" then
uo.click( "obj" )
repeat
wait( 100 )
until Not uo.getName( "obj" ) == ""
endif
uo.textprint( "arr[" + str( i ) + "] = '" + uo.getserial( 'obj' ) + "' ; " + uo.getName( obj ) )
i = i + 1
endif
until uo.getserial( "obj" ) == "0x00000000"
uo.textprint( "Items Count: " + str( i ) )
endsub
Code: Select all
sub del()
uo.print('Obj')
uo.exec('addobject obj')
while uo.targeting()
wait(100)
wend
UO.TextOpen()
uo.textprint('A[n] = '+uo.getserial( "obj" ))
end sub