Advertisement
sparkychild

Untitled

Jun 17th, 2015
242
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(room !== 'theummbraleague')return false;
  8. if (room === user || !user.hasRank(room.id,'+')) {
  9. this.say(room, '/pm ' + user.id + ',' + ' Hello and Welcome to **The Umbra League** , if you wish to join this league do @recruit and @openspots.');
  10. }
  11. if (room === user || !user.hasRank(room.id,'+')) return false;
  12. this.say(room, 'Hello ' + '**' + user.id + '**' + ' and Welcome To **The Umbra League**.');
  13. break;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement