I am currently making a Progress Report for my future Willow Cutter.
I do not know how to multiply them properly though.
My Script:
My Problem:Code:Program PracticeWoodcuttingScript; {.include SRL/SRL.Scar} Var TotalProggies : Integer; TreeCut : Integer; Procedure ProgressReport; Begin WriteLn('|==================================================|'); WriteLn('| Willow Cutter Report |'); WriteLn('|==================================================|'); WriteLn(' Time Running: ' + TimeRunning ); WriteLn(' Willows Cut: ' + IntToStr(TreeCut)); WriteLn(' Exp Gained: ' + (IntToStr(TreeCut) * 90)); WriteLn('|==================================================|'); WriteLn('| Created By: Devoker. |'); WriteLn('|==================================================|'); End; Begin ProgressReport; End.
As you can see, I am trying to multiply, 'TreesCut', buy 90. Simple as that.Code:Line 15: [Error] (16773:50): Type mismatch in script


Reply With Quote




since that is an integer you must put it inside the IntToStr function.
.




