Skript

Forum > Suggestions

Open an url, save file and get server IP.

  • 2 posts
    #1 Dec 31, 2013 at 23:10 UTC - 0 likes

    Some examples:

    Open an url in web browser:

    On skript start:
        open "http://dev.bukkit.org/" in web browser
    

    Get server IP and open url in minecraft:

    On skript start:
        set {server_ip} to IP of the server
        open "http://www.example.com/test.php?ip=%{server_ip}%"
    

    Save a file:

    On skript start:
        save "http://www.example.com/file.sk" to "plugins/skript/scripts/"
    
    #2 Jan 01, 2014 at 01:03 UTC - 0 likes

    @Ezerill: Go

    The open web browser thing is not possible, you cant control a player's computer unlesss they click a link in chat

    Some discussion about the save file

    Last edited Jan 01, 2014 by MostFunGuy

    MostFunGuy:

    Owner of the Off The Grid Network - MCOTG.COM

  • 2 posts

You must login to post a comment. Don't have an account? Register to get one!