-facepalm-
Yeah thanks guys. Lol.
I literally just facepalmed at all the stupid mistakes I made in such a simple script.
Thanks again, I would have expected a lot more flaming.
EDIT: Okai! Moar problems. :3
Here's the new, edited code:
SCAR Code:
{[----------------------------------------]]
[[-------------program DropAll-------------]]
[[-(1) Clears debug screen ----------------]]
[[-(2) Drops entire inventory -------------]]
[[-----------------------------------------]]
[[-- Useful for: --------------------------]]
[[-(1) Powerleveling ----------------------]]
[[-----(Mining, woodcutting, etc.)---------]]
[[-(2) Clearing your bank -----------------]]
[[-(3) Drop trading (not recommended)------]]
[[-----------------------------------------]]
[[-- Procedures: --------------------------]]
[[-(1) Waits until your inventory is full--]]
[[-(2) Drops your entire inventory! -------]]
[[-----------------------------------------]]
[[-------(c)Zeeky111-----------------------]]
[[-----------------------------------------]}
program DropAll;
{.include SRL/SRL.scar};
procedure SetupScript;
begin
SetupSRL;
ClearDebug;
end;
procedure WaitForFull;
begin
if (not(InvFull)) then
begin
repeat
Wait(50);
until(InvFull);
end else
begin
DropAll;
end;
end;
begin
SetupScript;
WaitForFull;
end.
And.. Here's my problem:
Code:
Failed when compiling
Line 0: [Error] (20:24): 'BEGIN' expected in script C:\Program Files\SCAR 3.22\includes\SRL\SRL.scar
Help? Pl0x..?