You have to make it do a Repeat Until loop like:
SCAR Code:Repeat
MineRocks
Loads:=Loads+1;
Until(Loads > HowManyToDo)
Hope I Helped![]()
You have to make it do a Repeat Until loop like:
SCAR Code:Repeat
MineRocks
Loads:=Loads+1;
Until(Loads > HowManyToDo)
Hope I Helped![]()
You would put 'bronze' as that is the string
Hope I Helped![]()
No in the mining Procedure or as a Const![]()
thanks i added that in but its getting
Line 67: [Error] (12721:19): Syntax error in script C:\Program Files\SCAR 3.15\Scripts\SunnysFirstPowerMiner2.scar
and now that i have that list of ores. under const can how do i set iy up with a mine wich rock
sorry im such a noob
You have to add an extra until in your MineRock;
The best way to contact me is by email, which you can find on my website: http://wizzup.org
I also get email notifications of private messages, though.
Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
Documentation | Source | Simba Bug Tracker on Github and Villavu )
My (Blog | Website)
ok thanks everyone will try it in a few days going to be a bit busy so not going to have much time will edit with the modified script
I like your dropping procedure but you need to edit it for your needs.
Nava2
Writing an SRL Member Application | [Updated] Pascal Scripting Statements
My GitHub
Progress Report:13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you have serious physchological problems 13:46 <@BenLand100> HE GETS IT! 13:46 <@BenLand100> HE FINALLY GETS IT!!!!1
this looks like something i would do, im also a beginner at writting scripts. good job on this.
SCAR Code:{*******************************************************************************
procedure DropItems(f, l: integer);
By: Nava2
Description: Drops items in slots f to l.
*******************************************************************************}
procedure DropItems(f, l: integer);
var i, TMSpeed: integer;
begin
TMSpeed := MouseSpeed;
MouseSpeed := 20 + random(5);
for i:= f to l do
begin
if ExistsItem(i) then
begin
MouseItem(i, False);
Wait(170 + Random(50));
ChooseOption('rop');
Wait(RandomRange(50, 200));
end;
end;
MouseSpeed := TMSpeed;
end;
That drops items from F to L. It works almost flawlessly. Use it if you want; just credit. It also does it really fast :P.
Nava2
Writing an SRL Member Application | [Updated] Pascal Scripting Statements
My GitHub
Progress Report:13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you have serious physchological problems 13:46 <@BenLand100> HE GETS IT! 13:46 <@BenLand100> HE FINALLY GETS IT!!!!1
There are currently 1 users browsing this thread. (0 members and 1 guests)