Skip to content

Instantly share code, notes, and snippets.

View BenLand100's full-sized avatar

Benjamin Land BenLand100

View GitHub Profile
program default;
{$loadlib libsmartremote}
procedure GetSmartParams(var root,params: string);
var
path: String;
loc: integer;
begin
path:= Between('<iframe id="game" src="', '" frameborder', GetPage('http://www.runescape.com/game.ws?j=1'));
loc:= pos('runescape.com/',path);