FineNerds

doChat

Feb 18th, 2015
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.38 KB | None | 0 0
  1. private static void doChat(string[] command)
  2.         {
  3.             string message = "";
  4.             int i = 1;
  5.             for (i = 1; i < command.Length; i++)
  6.             {
  7.                 message = "" + command[i];
  8.             }
  9.  
  10.             if (command[1] == "/all")
  11.                 Util.teamChat(message);
  12.            
  13.             Util.teamChat(command[1]);
  14.         }
Advertisement
Add Comment
Please, Sign In to add comment