Fix for SkUngee Variables

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

nUKEmAN4

New Member
May 25, 2017
3
0
1
23
Have this ever happend to you while using SkUngee?
You get <none> sometimes using network variablers? Well, no more!
This script will fix <none> problems!

Usage:​

Code:
command /test [<text>]:
    trigger:
        set network variable {test::example} to arg-1
        send "Variable set."
    
command /testget [<text>]:
    trigger:
        if isGlobalVariableSet("test::example") is set:
            set {_results} to getNetworkVariable("test::example")
            send "Test: %{_results}%"

And please note, that you must use isGlobalVariableSet() to see if network variable is set, if not it will chrash your server when used.