Advertisement
Guest User

Untitled

a guest
Jun 24th, 2017
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. coolcheck: function (target, room, user) {
  2. if (room !== user && !user.hasRank(room, '+')) return;
  3. let coolStatus = ["topaz", "spook", "ptoad", "snap", "arsu"]
  4. if (target === (coolStatus)) {
  5. room.say("**" + target + "** is a cool user!");
  6. } else {
  7. room.say("**" + target + "** is **NOT** a cool user!");
  8. }
  9. },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement