Advertisement
Guest User

Untitled

a guest
Nov 21st, 2014
167
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 if (mode == 0){
  12.         cm.dispose();
  13.         return;        
  14.     } else {
  15.         if (mode == 1)
  16.             status++;
  17.         else
  18.             status--;
  19.         if (status == 1) {
  20.             cm.sendSimple("#L0# #bYes I have reached #rlevel 30#b, and have collected 10 snail shells.\r\n#l");
  21.         } else if (selection == 0) {
  22.             if (cm.haveItem(4000019, 10)) {
  23.                 if (cm.getLevel() >= 30) {  
  24.                     cm.warp(910000000);
  25.                     cm.gainItem(4000019, -10);
  26.                     cm.dispose();
  27.                 } else {
  28.                     cm.sendOk("#e#rYou Tryna Lie To Me SON?");
  29.                     cm.dispose();
  30.                 }
  31.             } else {
  32.                 cm.sendOk("#e#rWhere the fuck my snail shells?");
  33.                 cm.dispose();
  34.             }
  35.         }    
  36.     }  
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement