Sawyer
2013-02-01 22:51:26
What are the acceptable variables for the GetMMLevels function? I am trying to get it to see my summoning points, and I can't figure out what variable the Colorsign is.
2013-02-01 22:51:26
2013-02-01 23:12:31
program new;
{$i srl/srl.simba}
var
s : string;
begin
setupsrl;
writeln(GetMMLevels('hp', s)); // writes out approx. HP integer value
end.
program new;
{$i srl/srl.simba}
var
s : string; // the s is usually just a trash variable, doesn't help us too much unless we want to use a string representing the color of what our MM HP Lvl relevant to the HP % is.
storeHP : integer;
begin
setupsrl;
writeln(GetMMLevels('hp', s)); // writes out approx. HP integer value
storeHP := GetMMLevels('hp', s);
if (storeHP < 1000) then
begin
writeln('low on Hit Points!');
// Teleport away somehow or TerminateScript
end;
end.
2013-02-01 23:22:45