Solved i cant loop list 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!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.
Probably now, it should work..

code_language.skript:
…
loop {teamliste.%player%::*}:
   set {_n} to loop-value
   message "test"
   loop all players:
      message "test"
      if arg-2 is {_n}:
         message "Eklemeye Çalıştığınız Kişinin Guildi Bulunmaktadır" to player
      else:
         message "test2"
         if {kisi.%{listofguild.%player%}%} is set:
...
 
list variables not work
Probably now, it should work..

code_language.skript:
…
loop {teamliste.%player%::*}:
   set {_n} to loop-value
   message "test"
   loop all players:
      message "test"
      if arg-2 is {_n}:
         message "Eklemeye Çalıştığınız Kişinin Guildi Bulunmaktadır" to player
      else:
         message "test2"
         if {kisi.%{listofguild.%player%}%} is set:
...
no, problem is its doesnt loop i mean "loop {listvariable::*}: message "test"" doent sends me "test" message
 
list variables not work

no, problem is its doesnt loop i mean "loop {listvariable::*}: message "test"" doent sends me "test" message
Try broadcasting the list variable before looping to see what that results in
 
list variables not work

no, problem is its doesnt loop i mean "loop {listvariable::*}: message "test"" doent sends me "test" message
if its not sending you "test", that MOST likely means the list variable is empty.. therefor its not actually looping anything since theres nothing to loop
 
Status
Not open for further replies.