i want to loop this script forever-> viewtopic.php?p=71971#71971 script forever but it stops if i have more than 500 bandages. i just want it to loop and check if i have more 500 bandages, if i have less it should take 500 bandages from my bank and continue. help please [/url]
i want to loop this script forever-> viewtopic.php?p=71971#71971 script forever but it stops if i have more than 500 bandages. i just want it to loop and check if i have more 500 bandages, if i have less it should take 500 bandages from my bank and continue. help please [/url]
sub getBandagesFromBank() while 1 var bandages = "0x0000" ; graphical type of bandages if uo.count( bandages ) < 500 then uo.findtype( bandages, "-1", uo.objAtLayer( "Bank" ) ) if not uo.findcount() then uo.print( "Bandages was not found in bankbox." ) return false endif uo.moveitem( "finditem", "500" ) uo.print( "Bandages was be moved." ) endif wait(5000) wend endsub
sub getBandagesFromBank() var bandages = "0x0000" ; graphical type of bandages while NOT UO.Dead() if uo.count( bandages ) < 500 then uo.findtype( bandages, "-1", uo.objAtLayer( "Bank" ) ) if not uo.findcount() then uo.print( "Bandages was not found in bankbox." ) return endif uo.moveitem( "finditem", "500" ) uo.print( "Bandages was be moved." ) endif wait(5000) wend endsub
Last edited by Edred on 2008-02-27 23:31:42, edited 1 time in total.
Ни один скрипт не работает? Пора обновить Инжект...
Все работает, но хочется большего? Пора переходить на стелс...
YokoInjection CodeSweeper Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Telegram: @tatikom
sub getBandagesFromBank2() while NOT UO.Dead() if uo.count('bandage') < 100 then uo.findtype('bandage', "-1", uo.objAtLayer( "Bank" ) ) endif uo.moveitem( "finditem", "100") wait(5000) wend endsub