Blue90
2011-11-05 17:40:12
Hello, as you may know im a damn noobie on this great community, and just like most users im from rsbuddy. I decided to quit my old ways, and stop leeching off others. This is why I am here in the programming section trying to get some help with this, granted I am a beginner, I still want to provide some good feed to the community. I am looking into making a FDK bot but currently there isnt no MSI methods/functions which are gathered for the frost dungeon. If you can please help me with this, I am trying to add another another const to the assignment but continue to experience a Type mismatch at line 18, I added the variables which is a integer, and declared it to on top of the script so it should be declared to all functions/precedures that arent already assigned one.
Here is the log FINISHED! :) Thanks for the help guys Edit: Will use standards next time. So far so good, starting to come along :)
Here is the log FINISHED! :) Thanks for the help guys Edit: Will use standards next time. So far so good, starting to come along :)
program puttingtogetherbasics;
var
Logs:Integer;
Logs2:Integer;
Exp:Extended;
Timer:Extended;
const
Number_Of_Logs=500;
Tree_To_Cut='Magic';
Tree_To_Cut_2='Yew';
procedure HowManyLogs;
begin
Logs:=250;
Logs2:=194;
Exp:=195.5;
Timer:=200.00;
Writeln('We are waiting '+FloatToStr(Timer/100)+' Seconds to continue');
Writeln('We currently have '+IntToStr(Logs)+' chopped');
Wait(500);
Writeln('We would like to obtain '+IntToStr(Number_Of_Logs)+' before we are done');
Writeln('We are chopping '+(Tree_To_Cut)+' trees!');
Writeln('When we are done chopping magics, we are going to chop '+(Tree_To_Cut_2)+' trees!');
Writeln('We have gained ' + FloatToStr(Logs*Exp) + ' cutting magics!');
Writeln('We have gained ' +FloatToStr(Logs2*Exp)+' cutting Yews!');
end;
function WeAreBored:String;
var
s:String;
begin
result:='Done chopping yews';
s:='We are bored, we are going to chop now';
wait(500);
writeln(s);
writeln('Chopping yews...'); ///Without a string this would be implemented this way. Example of string implemenation is on line 34.
end;
begin
Cleardebug;
HowManyLogs;
Writeln(WeAreBored);
end.