Hey guys,
Working on the ability to make it so that scripts don't have to be stored in Simba. I know this can be a security issue but as of yet it is to stop leeching.
What I have at the moment:
Simba Code:
begin
writeln(GetPage('http://sof.minepress.co.uk/scripttest.php'));
end.
So what this does is print out the webpages HTML.
Simba Code:
program ClanChatPrint;<p>
{$DEFINE SMART}<br>
{$i SRL\SRL.simba}<br>
<br>
procedure DeclarePlayers;<br>
begin<br>
HowManyPlayers := 1;<br>
NumberOfPlayers(HowManyPlayers);<br>
CurrentPlayer := 0;<br>
Players[0].Name := '';<br>
Writeln(Players[0].Name);<br>
Players[0].Pass := '';<br>
Players[0].Active := True;<br>
Players[0].Pin := ''; <br>
end;<br>
<br>
begin<br>
SetupSRL;<br>
DeclarePlayers;<br>
LoginPlayer;<br>
if (not LoggedIn) then<br>
begin<br>
LoginPlayer;<br>
end else<br>
begin<br>
Writeln('Works');
end;<br>
end.<br>
Successfully executed.
Now I'm wondering how do I put this into use with an executable?
edit: I can't find web.simba?