SRL Archive - Help

Opening a script


sm0k3

2011-04-05 17:50:36

Is There any Way To Open And Start A script from A Extension
.. ..?

HarryJames

2011-04-05 17:54:29

You can include a script using this tag, and then call functions and procedures like normal.
{$i someInclude.SIMBA}

You can also use .DLL files, but that's more advanced.

sm0k3

2011-04-05 17:58:06

Well Basicly .. what i need is when then SMARTchat extension Starts it then opens and runs a script ..

HarryJames

2011-04-05 18:05:57

To my knowledge, you just include it into the script that you want running, and then simply call the correct function and it all happens for you :)

Dgby714

2011-04-05 18:07:16

procedure OpenScript(Name, Data: string; Run: boolean);
procedure OpenScriptEx(FileName: string; Run: boolean);

Flight

2011-04-05 20:32:06

From: Dgby714
procedure OpenScript(Name, Data: string; Run: boolean);
procedure OpenScriptEx(FileName: string; Run: boolean);


Is this how MSI works then? Or is it a single script?

KingKong

2011-04-06 02:19:17

From: Dgby714
procedure OpenScript(Name, Data: string; Run: boolean);
procedure OpenScriptEx(FileName: string; Run: boolean);


Where do you find that? I couldn't find it in my folders :(

Brandon

2011-04-06 02:45:18

From: KingKong
Where do you find that? I couldn't find it in my folders :(


https://github.com/Dgby714/Simba/commit/b36866921e7124d84b3da7d7343d9cbc631d980d

Gu3st...

2011-04-06 04:40:57

From: Flight
Is this how MSI works then? Or is it a single script?
Yes, MSI uses OpenScriptEx :)