1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Oxide for Rust Legacy has been discontinued and is no longer supported. No updates or additions will be made, and Rust Legacy-specific plugin submissions will no longer be accepted. We recommend upgrading to the latest version of Rust as able.
    Dismiss Notice
  1. tomasekpro

    tomasekpro Scavenger

    Hi guys, I need convert Magma plugin to Oxide...

    Code (Text):
    function On_Chat(Player, ChatMessage){
        try {
            var msg = ChatMessage.ToString();
            var getchat = Web.GET("http://example.com/chat.php?name="+Player.Name+"&msg="+msg+"");
        } catch (err) {
            Plugin.Log("chatlog", "Exception Message: " + err.message + " on On_PluginChat");
            Plugin.Log("chatlog", "Exception Description: " + err.description + " on On_PluginChat");
        }
    }