1. 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!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fix for SkUngee Variables

Discussion in 'Scripts' started by nUKEmAN4, Aug 31, 2019.

  1. nUKEmAN4

    nUKEmAN4 New Member

    May 25, 2017
    Likes Received:
    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!


    Code (Text):
    1. command /test [<text>]:
    2.     trigger:
    3.         set network variable {test::example} to arg-1
    4.         send "Variable set."
    6. command /testget [<text>]:
    7.     trigger:
    8.         if isGlobalVariableSet("test::example") is set:
    9.             set {_results} to getNetworkVariable("test::example")
    10.             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.

Share This Page