Naum
2008-12-01 12:45:43
I stumbled across the world page and had a look at its HTML source. And most of the worlds have a pattern of the URL. So I made this function:
This will get the lowest free or member world depending on the Boolean 'Free'
Usage :
Function GetLowestRSWorld(Free : Boolean) : Integer;
Var Ty : String;
Begin
If Free = True Then Ty := 'M' Else Ty := 'm';
Result := StrToInt(GetNumbers(Between('<a href="http://world', '.runescape',
GetPage('http://runescape.com/slu.ws?order='+Ty+'PLWA'))));
end;This will get the lowest free or member world depending on the Boolean 'Free'
Usage :
SmartSetupEx(GetLowestRSWorld(True), false, true, false);:)