Sirenia
2012-03-08 17:21:26
So guys ive tried out the art of scripting and I got a result that atleast compiles and with some DTM's, BitMaps and AutoColor included. Im working on a NatureRunecrafter, its more or less a rewrite of RyGuys Astral crafter (Creds to him!!). I got summoning working, drinks summ pot when low summ points, summons new graahk when needed, repairing pouches since I borrow some stuff from RyGuy :) My problem is however that I dont know how to make it withdraw a new Ring of Dueling, lets take a look on the code I got so far!
This script wont be used for leeching nats dry, Im pretty sure that my code wouldnt be stable/efficient enough to handle that anyway.
procedure TeleportToCw;
begin
MouseEquippedItem('ring', 3);
if WaitUpTextMulti(['Ring','Rin','ing'], 1500) then
begin
if IsUpText('1') then
WriteLn('Its our last charge!');
end;
ChooseOption('astle');
Wait(750 + random(200));
end; That one for tele to Castle Wars :)procedure HandleBank;
begin
if BankScreen then
begin
DepositNats;
CheckSumPoints;
RepairPouches;
FillPouches;
end;
end; And this one goes for handling the bank, could it be possible to make the TeleToCw procedure into a function and it will return true if it sees that its only one charge left? Any help would be very awesome since this is more or less my first script :)This script wont be used for leeching nats dry, Im pretty sure that my code wouldnt be stable/efficient enough to handle that anyway.