idk wats wrong
Procedure Eat_Food;
Begin
Repeat
If (HPPercent <10) then
P07_FindObjcustom(x,y ['rout'], [7238283], 2) then
Clickmouse(mouse_left);
End;
says missing semi colon on line 37
idk wats wrong
Procedure Eat_Food;
Begin
Repeat
If (HPPercent <10) then
P07_FindObjcustom(x,y ['rout'], [7238283], 2) then
Clickmouse(mouse_left);
End;
says missing semi colon on line 37
INACTIVE
How-to: Make S.M.A.R.T. less laggy
Sell me your Maple Shieldbows (u)! Up to 95gp ea!
My Scripts:
Ivy Chopper Ultra [RS3] | Fantastic Fletcher [RS3]
99 x78 |
99 x10 |
99 x2 |
99 x12
Use the REPORT tags when posting progress reports to make life easier (:
[REPORT]Put progress report in here![/REPORT]
Super Savvy Smither V1.06Cool Classy Cooker V1.02 [EoC]
i m trying to make a cow killer script idk what i m doing wrong ill post script that eats when low
program Cow_Killer;
{$I SRL/SRL.Simba}
{$I SRL/SRL/Misc/Debug.Simba}
{$I P07Include.Simba}
var
x, y: Integer;
Test: Tstringarray;
procedure DeclarePlayers;
Begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name :='';
Players[0].Pass :='';
Players[0].Nick :='';
Players[0].Active:=True;
End;
procedure Kill_Cow;
Begin
repeat
If P07_FindObjCustom (x,y, ['ow'], [1848381, 11975615],3) then
ClickMouse2(Mouse_left);
Wait(4500)
until(HPPercent <10);
End;
Procedure Eat_Food;
Begin
Repeat
If (HPPercent <10) then
P07_FindObjcustom(x,y ['rout'], [7238283], 2) then
Clickmouse(mouse_left);
End;
begin
SetupP07Include;
DeclarePlayers;
P07_LoginPlayer;
Repeat
Kill_Cow;
Until(false);
end.
i do not know how to post in simba tags sorry
Last edited by pcap; 03-02-2013 at 12:06 AM.
Use SIMBA tags man....he already said that, but try this? I don't have the include soooo
Simba Code:program Cow_Killer;
{$I SRL/SRL.Simba}
{$I SRL/SRL/Misc/Debug.Simba}
//{$I P07Include.Simba}
var
x, y: Integer;
Test: Tstringarray;
procedure DeclarePlayers;
Begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name :='pcapp5';
Players[0].Pass :='paul5';
Players[0].Nick :='capp';
Players[0].Active:=True;
End;
procedure Kill_Cow;
Begin
repeat
//If P07_FindObjCustom (x,y, ['ow'], [1848381, 11975615],3) then
ClickMouse2(Mouse_left);
Wait(4500)
until(HPPercent <10);
End;
Procedure Eat_Food;
Begin
Repeat
If (HPPercent <10) then
P07_FindObjcustom(x,y ['rout'], [7238283], 2)
Clickmouse2(True);
End;
begin
SetupP07Include;
DeclarePlayers;
P07_LoginPlayer;
Repeat
Kill_Cow;
Until(false);
end.
Also you had a random then somewhere which shouldn't be. Just remove the //
Finished B.S. Program in Radiology!!
Projects: A big one! Total secret! hehe
you do it like this
Simba Code:[(Simba)]
your code here
[(/)simba]
but without the parenthesis
look at the 4th 5th and 6th lines of code from your first post
think about how if... then statements work
Last edited by Saint//+; 03-01-2013 at 11:59 PM.
.... i cant get it i changed some things but still same thing about semicolon
how do i put in simba tag? so i m can post it better
Your EatFood procedure was screwed ahahReplace it with this, and it will compile:
Simba Code:Procedure Eat_Food;
Begin
Repeat
If (HPPercent <10) then
if PO7_FindObjcustom(x,y, ['rout'], [7238283], 2) then
Clickmouse2(mouse_left);
until(HPPercent > 50)
End;
However, you should not use FindObjcustom(); for objects in your inventory. Try looking up a tutorial on DTM's in the beginner section
E: You mistakes in the procedure:
- Repeat with no closing Until()
- No comma between y and ['rout']
Last edited by Press Play; 03-02-2013 at 12:19 AM.
INACTIVE
How-to: Make S.M.A.R.T. less laggy
Sell me your Maple Shieldbows (u)! Up to 95gp ea!
My Scripts:
Ivy Chopper Ultra [RS3] | Fantastic Fletcher [RS3]
99 x78 |
99 x10 |
99 x2 |
99 x12
Use the REPORT tags when posting progress reports to make life easier (:
[REPORT]Put progress report in here![/REPORT]
Super Savvy Smither V1.06Cool Classy Cooker V1.02 [EoC]
edit
Last edited by pcap; 03-02-2013 at 12:23 AM.
INACTIVE
How-to: Make S.M.A.R.T. less laggy
Sell me your Maple Shieldbows (u)! Up to 95gp ea!
My Scripts:
Ivy Chopper Ultra [RS3] | Fantastic Fletcher [RS3]
99 x78 |
99 x10 |
99 x2 |
99 x12
Use the REPORT tags when posting progress reports to make life easier (:
[REPORT]Put progress report in here![/REPORT]
Super Savvy Smither V1.06Cool Classy Cooker V1.02 [EoC]
it is anything else that would make that unkown? btw thank you very much for help i m new to scripting
There are currently 1 users browsing this thread. (0 members and 1 guests)