Advertisement
Guest User

Untitled

a guest
Nov 17th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var status = 0;
  2.  
  3. function start() {
  4.     status = -1;
  5.     action(1, 0, 0);
  6. }
  7.  
  8. function action(mode, type, selection) {
  9.     if (mode == -1) {
  10.         cm.dispose();
  11.     } else {
  12.         if (mode == 0 && status == 1) {
  13.             cm.dispose();
  14.             return;
  15.         }
  16.         if (mode == 0) {status == 1;}
  17.         if (mode == 1) status++;
  18.         else status--;
  19.         if (status == 0) {
  20.             cm.sendNext("Hello there! My name is Ranch Owner, but you can call me #eRanch Owner.#n Welcome to #k#THE SERVER!#n");
  21.         } else if (status == 1) {
  22.             cm.sendSimple("Before I let you in, there are a few things you need to know...\r\n#L0##bRules#l\r\n#L1##bStaff#l\r\n\r\n#L2##bDone#l");
  23.         } else if (status == 2) {
  24.             if (selection == 0) {
  25.                 cm.sendPrev("I recommend that you check out our Forums or Discord for the more details, but I'll give you a #eQUICK#n rundown of the basic rules that you should know. \r\n #e"
  26.                 + " \r\n  1. No Hacking"
  27.                 + " \r\n  2. Don't Abuse Bugs/Glitches"
  28.                 + " \r\n  3. No Game Monitoring #n(scripts, macroing, etc) #e"
  29.                 + " \r\n  4. Respect Other Players and Staff"
  30.                 + " \r\n  5. Do not impersonate GMs"
  31.                 + "\r\n\r\n#nThere's a lot more but, these are the basics! I reserve the right to change these at any given time!"
  32.                 );
  33.             } else if (selection == 1) {
  34.                 cm.sendPrev("#eOwner - Ranch Owner#n(me) \r\n#eHead of Staff - asdasdasd \r\nDeveloper - asdasd");
  35.             } else if (selection == 2) {
  36.                 action(1,0,0);
  37.             }
  38.         } else if (status == 3) {
  39.             cm.sendYesNo("You sure you got all that? I don't want you running around my property without even knowing the basics!");
  40.          } else if (status == 4) {
  41.             cm.sendOk("Well ok then. That was kind of fast though... \r\n\r\nOh well! I'm going to send you to one of my assistants."
  42.             + " There's a bit more you have to learn before we can officially let you in. \r\n\r\nGood luck! #eI'll see you around.");
  43.         } else if (status == 5) {
  44.             cm.warp(109090100, 0);
  45.             cm.dispose();
  46.         }
  47.     }
  48. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement