Shuttleu
2009-06-04 22:14:28
how about changing it to this?
because if your like me then you will keep forgeting what it is you have to put and you keep looking in a script just to findout what it is you have to put
~shut
procedure SmartSetupEx(worldnumber: integer; members, signed, superdetail: boolean);
var
prefix: string;
begin
prefix := ReadINI('World' + IntToStr(worldnumber), 'Prefix', AppPath + 'includes\SRL\SRL\misc\worlds.ini');
if(prefix = '')then
begin
writeln('Invalid world number or corrupted world list. Please review your settings');
TerminateScript;
end;
SmartSetup('http://'+prefix+'.runescape.com/', 'plugin.js?param=o0,a' + IntToStr((Integer(not(Signed)) + 1) * Integer(not((SuperDetail and Signed)))) + ',m' + IntToStr(Integer(Members)));
SetTargetDC(SmartGetDC);
end;that way you wont have to put SetTargetDC(SmartGetDC);because if your like me then you will keep forgeting what it is you have to put and you keep looking in a script just to findout what it is you have to put
~shut