Well, i'd like to add something that checks the level started, and the current level.
Is there already a method to get the level?
Well, i'd like to add something that checks the level started, and the current level.
Is there already a method to get the level?
I'd recommend using SRL-OSR includes for up to date skills-related calls.
For example, calling
Simba Code:Writeln(GetSkillLevel('hunt'));
works correctly when I just now tested it.
Thus, You can expand this idea by calling this and storing the result to a variable. Then later on in your script, call the same function again, to compare/update/etc.
'd
I never added it to my personal Include sorry, as it's low priority progress releated stuff, but ironically the one in SRL-OSR was written by me (at least at the time of this post) :/ that one works as far as I know (and Le Jingle confirms this above?)
Lies! That returns an integer so you'd need
Simba Code:WriteLn(IntToStr(GetSkillLevel('mining')));
Unless I missed something![]()
Last edited by DannyRS; 03-10-2013 at 03:00 AM.
Programming is like trying keep a wall of shifting sand up, you fix one thing but somewhere else starts crumbling
Last edited by Brid Mayhem; 03-10-2013 at 03:53 AM.
Tried all of those, nothing seems to be working.
Here's what i've tried:
writeln('Current level: ' +IntToStr(GetSkillLevel('SKILL_PRAYER'))+'!');
writeln('Current level: ' +IntToStr(GetSkillLevel('Prayer'))+'!');
writeln('Current level: ' +IntToStr(GetSkillLevel('pray'))+'!');
Ah, it's not my include you need for this, it's the alpha development release of SRL-OSR: https://github.com/SRL/SRL-OSR
Tho it's not easy to setup atm and the font's are not posted publicly I don't think yet, I'd upload for you but I'm on my phone atm
Programming is like trying keep a wall of shifting sand up, you fix one thing but somewhere else starts crumbling
There are currently 1 users browsing this thread. (0 members and 1 guests)