SRL Archive - RS3 Script Requests

Need a simple bot to drink pots


iimhere

2012-01-03 13:09:15

Need a simple bot to drink ppots(and if you can super attack and str bots to) whenever it reaches certain prayer point. (and possibly certain boost off stat)

Brandon

2012-01-03 13:15:28

From: iimhere
Need a simple bot to drink ppots(and if you can super attack and str bots to) whenever it reaches certain prayer point. (and possibly certain boost off stat)

Willing to donate 5m to someone who makes this


I'm willing to bet this is for bandit camp.. but i don't think anyone here sells scripts. you can always download a fighter script and find the part where it eats and drinks.. modify it and use it personally.

OR you can write one which will take u about 10 mins, if that.

Edit:


program Drinker;
{$I SRL/SRL.Simba}

Function HasPotion(var X, Y:Integer; Potion: String): Boolean;
var
Item: Integer;
begin
Case LowerCase(Potion) of
'prayer':
Item:= DTMFromString('');
'atk':
Item:= DTMFromString('');
end;

Result:= FindDTM(Item, X, Y, MIX1, MIY1, MIX2, MIY2);
end;

Procedure DrinkPotion(Potion: String);
var
S: String;
X, Y: Integer;
begin
if (GetMMLevels('prayer', S) < 50) then
if HasPotion(X, Y, Potion) then
begin
MMouse(X, Y, 0, 0);
ClickMouse2(1);
end;
end;

iimhere

2012-01-03 13:17:21

oh sorry i didn't realize you aren't allowed to buy scripts.

I can't script tho and would like someone to make this. I would use this for dagonoths bandits slayer etc

iimhere

2012-01-03 13:18:53

Thanks a lot

iimhere

2012-01-03 13:33:25

Everyone seems so helpfull here, just got it to work

Kyle Undefined

2012-01-03 14:16:10

Please don't triple post. Glad you got it working :)