And from where would those values come from?and for the color variable they can enter 'Green', 'Yellow', 'Orange', or 'Red'.
And N1ke, its never really been used that much, AFAIK.
And from where would those values come from?and for the color variable they can enter 'Green', 'Yellow', 'Orange', or 'Red'.
And N1ke, its never really been used that much, AFAIK.
Jus' Lurkin'
before i was trying to point out the extra variable energy was not needed
When I first showed you this, I tried explaining to you, runcolor is a variable for the different colors the numbers are, 1-25 = red, 26-50= yellow? 51-75= orange? and 76-100= green, yellow and orange maybe mixed up. But GetMMLevels('run'.... returns how much energy you have and what color it is. And AFAIK also it isn't used much, that's what I said up on my first post on this thread I think.
SCAR Code:if GetMMLevels('run', RunColor) >= WhatPercentage then
SetRun(true);
i woudn't really say it's needed...
~RM
I say it should definitely return a boolean.
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)
Well it does now. I had it in the first place to be honest. I dont know why I listened to people who said it should be a procedure!
EDIT: When do I get my SRL Helper cup? :PP
Jus' Lurkin'
SCAR Code:{*******************************************************************************
procedure CheckRun
Description: Checks your run % and clicks on run if it is above your percentage
By: Torrent of Flame
*******************************************************************************}
function CheckRun(WhatPercent: Integer): Boolean;
var
Runcolor: string;
begin
Result := GetMMLevels('run', runcolor) >= WhatPercent;
SetRun(Result);
end;
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
would it? result : = runenergy> percent set;, can be true or false
So much uproar about such a simple procedure xDD
Jus' Lurkin'
There are currently 1 users browsing this thread. (0 members and 1 guests)