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!

  2. LOOKING FOR A VERSION OF SKRIPT??:

    You can always check our our Wiki for downloads and any other information about Skript!

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

Transfer variable

Discussion in 'Skript' started by MateoxPL, Oct 26, 2019.

  1. MateoxPL

    MateoxPL Well-Known Member

    Joined:
    Jan 27, 2018
    Messages:
    106
    Likes Received:
    0
    Hello
    How to transfer(copy) variable from {variable1::*} to {variable2::*} with player's name and all variables?
     
  2. GamingHard

    GamingHard Member

    Joined:
    Oct 5, 2019
    Messages:
    17
    Likes Received:
    0
    Try this:

    Code (Text):
    1. command /transfervariabels:
    2.     trigger:
    3.         loop {variable1::*}:
    4.             add loop-value to {variable2::*}
    5.         message "&eVariable transfered!"
    no clue if it works though i havent tested it...
     
Loading...