Results 1 to 9 of 9

Thread: Opening a script

  1. #1
    Join Date
    Mar 2011
    Location
    Somerset, UK
    Posts
    304
    Mentioned
    0 Post(s)
    Quoted
    24 Post(s)

    Default Opening a script

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

  2. #2
    Join Date
    Feb 2007
    Posts
    849
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

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

    You can also use .DLL files, but that's more advanced.
    Last edited by HarryJames; 04-05-2011 at 10:06 PM.
    ________________________________________
    14:19 < cycrosism> I wonder what she would have done without it
    14:19 < cycrosism> without me*
    Cycrosism is now an it.
    Quote Originally Posted by Dervish View Post
    /Facedesk.

  3. #3
    Join Date
    Mar 2011
    Location
    Somerset, UK
    Posts
    304
    Mentioned
    0 Post(s)
    Quoted
    24 Post(s)

    Default

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

  4. #4
    Join Date
    Feb 2007
    Posts
    849
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    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
    ________________________________________
    14:19 < cycrosism> I wonder what she would have done without it
    14:19 < cycrosism> without me*
    Cycrosism is now an it.
    Quote Originally Posted by Dervish View Post
    /Facedesk.

  5. #5
    Join Date
    Jan 2008
    Location
    10° north of Hell
    Posts
    2,035
    Mentioned
    65 Post(s)
    Quoted
    164 Post(s)

    Default

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

    Dg's Small Procedures | IRC Quotes
    Thank Wishlah for my nice new avatar!
    Quote Originally Posted by IRC
    [22:12:05] <Dgby714> Im agnostic
    [22:12:36] <Blumblebee> :O ...you can read minds

  6. #6
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    Quote Originally Posted by Dgby714 View Post
    Simba Code:
    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?

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


  7. #7
    Join Date
    Nov 2010
    Location
    Australia
    Posts
    1,472
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Quote Originally Posted by Dgby714 View Post
    Simba Code:
    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

  8. #8
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Quote Originally Posted by KingKong View Post
    Where do you find that? I couldn't find it in my folders
    https://github.com/Dgby714/Simba/com...3d9cbc631d980d

  9. #9
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default

    Quote Originally Posted by Flight View Post
    Is this how MSI works then? Or is it a single script?
    Yes, MSI uses OpenScriptEx

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •