sparkychild

Untitled

Jun 17th, 2015
279
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. case 'J': case 'j':
  2. let username = spl[2];
  3. let user = room.onJoin(username, username.charAt(0));
  4. if (user === Users.self) return false;
  5. if (this.isBlacklisted(user.id, room.id)) this.say(room, '/roomban ' + user.id + ', Blacklisted user');
  6. this.updateSeen(user.id, spl[1], room.id);
  7. if (user.id === 'umbratr'){
  8. var text = user.isExcepted('umbratr', room.id) ? '' : '/pm ' + user.id + ', ';
  9. var rand = ~~(8 * Math.random());
  10. switch (rand) {
  11. case 0:
  12. text += 'Hey **Umbrа 〤 ♏aѕtеr-Senpai**!!! How are you doing today??.';
  13. break;
  14. case 1:
  15. text += 'Hey **Umbrа 〤 ♏aѕtеr-San**!!! How are you doing today??.';
  16. break;
  17. case 2:
  18. text += 'Hey **Umbrа 〤 ♏aѕtеr-Sama**!!! How are you doing today??.';
  19. break;
  20. case 3:
  21. text += 'Hey **Umbrа 〤 ♏aѕtеr-Kun**!!! How are you doing today??.';
  22. break;
  23. case 4:
  24. text += 'Hey **Umbrа 〤 ♏aѕtеr-Chan**!!! How are you doing today??.';
  25. break;
  26. case 5:
  27. text += 'Hey **Umbrа 〤 ♏aѕtеr-Bō**!!! How are you doing today??.';
  28. break;
  29. case 6:
  30. text += 'Hey **Umbrа 〤 ♏aѕtеr-Sensei**!!! How are you doing today??.';
  31. break;
  32. case 7:
  33. text += 'Hey **Umbrа 〤 ♏aѕtеr-Shi**!!! How are you doing today??.';
  34. break;
  35. }
  36. this.say(room, text);
  37. }
  38. if(room.id !== 'theumbraleague') return false;
  39. if (room === user || !user.hasRank(room.id,''))
  40. this.say(room, '/pm ' + user.id + ',' + ' Hello and Welcome to **The Umbra League** , if you wish to join this league do @recruit and @openspots.');
  41. if (room === user || !user.hasRank(room.id,'+')) return false;
  42. this.say(room, 'Hello ' + '**' + user.id + '**' + ' and Welcome To **The Umbra League**.');
  43. break;
Advertisement
Add Comment
Please, Sign In to add comment