View Full Version : Opening a script
sm0k3
04-05-2011, 09:50 PM
Is There any Way To Open And Start A script from A Extension
.. ..?
HarryJames
04-05-2011, 09:54 PM
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
04-05-2011, 09:58 PM
Well Basicly .. what i need is when then SMARTchat extension Starts it then opens and runs a script ..
HarryJames
04-05-2011, 10:05 PM
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
04-05-2011, 10:07 PM
procedure OpenScript(Name, Data: string; Run: boolean);
procedure OpenScriptEx(FileName: string; Run: boolean);
Flight
04-06-2011, 12:32 AM
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
04-06-2011, 06:19 AM
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
04-06-2011, 06:45 AM
Where do you find that? I couldn't find it in my folders :(
https://github.com/Dgby714/Simba/commit/b36866921e7124d84b3da7d7343d9cbc631d980d
Zyt3x
04-06-2011, 08:40 AM
Is this how MSI works then? Or is it a single script?Yes, MSI uses OpenScriptEx :)
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.