Advertisement
Guest User

Untitled

a guest
Jul 24th, 2016
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. private void commands(string username, string message)
  2. {
  3. string command = message.Split(new[] { ' ', '!' }, StringSplitOptions.None)[1];
  4.  
  5. switch (command.ToLower())
  6. {
  7. case "whoismad":
  8. irc.sendChatMessage("Mad is a fuckboii");
  9. break;
  10. }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement