Lol, except that some of the SRL errors can be pretty tricky to solve...I've spent hours on ones like this before
Lol, except that some of the SRL errors can be pretty tricky to solve...I've spent hours on ones like this before
Interested in C# and Electrical Engineering? This might interest you.
SCAR Code:program New;
{.include SRL/SRL.scar}
var
wclvl : integer;
begin
wclvl := GetSkillLevel('woodcutting');
writeln(IntToStr(wclvl) + '');
end.
Heh, thanks =)
How important is SetupSRL;? What does it have? I thoughtcontains SetupSRL;SCAR Code:{.include SRL/SRL.scar}
And why is sendtext better than typesend?
because that sendtext will send the text humanly, unlike typesend (as far as i know) when just sends it all at once
Interested in C# and Electrical Engineering? This might interest you.
Setupsrl; loads the fonts (amongst other things) which are needed for text finding, getting levels, etc. It's good practice to put it in evey RS script. See the end of my FAQ (link in sig) for a way to make it so that setupsrl is automatically in the script.
Thank's boreas![]()
Lol Smartz =P
Lol, I do have firefox with squigglys. First I made the typo 'evety', I saw the red line, deleted the 't', but didn't replace it with an 'r', having seen the red line the first time, my brain assumed I fixed it and moved on hehe.
Anyways... yea follow freddys tut, I haven't had that problem in a long time thanks to that trick.
Make sure you test the responder ingame before you use it in any scripts though. The first time I tried mine, It kept finding the same statement for a while so it responded a bunch of times to one thing. I fixed, but I think I made it more complicated than it has to be.
Ohh true...Maybe put in a variable, like when it responds to phrase #1, it sets the variable lastphrase to 1; while lastphrase is 1, the script won't respond to phrase #1, because it knows it allready has
I don't know how confusing that was, if you showed me a script, I could show you an example of what I mean
Interested in C# and Electrical Engineering? This might interest you.
There are currently 1 users browsing this thread. (0 members and 1 guests)