Broadcast Help!

Discussion in 'Skript' started by CostellPlugins, May 1, 2017.

  1. I am trying to make a broadcast plugin, but I ran into an issue. When I do my for loop it adds all the args but puts no spaces after the args to announce them. I need help! Here is my code so far
    Code (Text):
    if(args.length > 1) {
                    String chatMes = "";
                    for(String arg : args) {
                        chatMes = arg;
                        getServer().broadcastMessage(chatMes);
                    }
                }
    PLZ HELP!!!!
     
  2. Fixed! I don't need any help anymore!
     
  3. CostellPlugins, this is for Skript only. Please post this in a java section