Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- case 'J': case 'j':
- let username = spl[2];
- let user = room.onJoin(username, username.charAt(0));
- if (user === Users.self) return false;
- if (this.isBlacklisted(user.id, room.id)) this.say(room, '/roomban ' + user.id + ', Blacklisted user');
- this.updateSeen(user.id, spl[1], room.id);
- if (user.id === 'umbratr'){
- var text = user.isExcepted('umbratr', room.id) ? '' : '/pm ' + user.id + ', ';
- var rand = ~~(8 * Math.random());
- switch (rand) {
- case 0:
- text += 'Hey **Umbrа 〤 ♏aѕtеr-Senpai**!!! How are you doing today??.';
- break;
- case 1:
- text += 'Hey **Umbrа 〤 ♏aѕtеr-San**!!! How are you doing today??.';
- break;
- case 2:
- text += 'Hey **Umbrа 〤 ♏aѕtеr-Sama**!!! How are you doing today??.';
- break;
- case 3:
- text += 'Hey **Umbrа 〤 ♏aѕtеr-Kun**!!! How are you doing today??.';
- break;
- case 4:
- text += 'Hey **Umbrа 〤 ♏aѕtеr-Chan**!!! How are you doing today??.';
- break;
- case 5:
- text += 'Hey **Umbrа 〤 ♏aѕtеr-Bō**!!! How are you doing today??.';
- break;
- case 6:
- text += 'Hey **Umbrа 〤 ♏aѕtеr-Sensei**!!! How are you doing today??.';
- break;
- case 7:
- text += 'Hey **Umbrа 〤 ♏aѕtеr-Shi**!!! How are you doing today??.';
- break;
- }
- this.say(room, text);
- }
- if(room.id !== 'theumbraleague') return false;
- if (room === user || !user.hasRank(room.id,''))
- this.say(room, '/pm ' + user.id + ',' + ' Hello and Welcome to **The Umbra League** , if you wish to join this league do @recruit and @openspots.');
- if (room === user || !user.hasRank(room.id,'+')) return false;
- this.say(room, 'Hello ' + '**' + user.id + '**' + ' and Welcome To **The Umbra League**.');
- break;
Advertisement
Add Comment
Please, Sign In to add comment