SRL Archive - OSR Help

Okay so im making this script....


Hexless

2013-03-21 06:45:09

Im making this script that involves buying runes and i would like it to log out or stop when its run out of money any ideas on how to do this?
THIS SCRIPT IS ALSO FOR 07Scape/Oldscape

Justin

2013-03-21 07:28:26

Try looking into:

writeln('[DEBUG] We have around ' + IntToStr(GetBankIndexItemAmount(i)) + ' coins');

(Ripped from my script) - change i to a number (1-48) and see if you are able to get a response :)