Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var status = -1;
- var mob = Array(9300004,9400571,9400014,9400575,9400121,9400112,9400122);
- function start() {
- action(1, 0, 0);
- }
- function action(mode, type, selection) {
- if (mode == 1)
- status++;
- else {
- cm.dispose();
- return;
- }
- if (status == 0) {
- var text = "Hi, which Mob would you like to be spawned. Please refrain from spamming, anyone caught spamming will be jailed.? \r\n";
- for(var i = 0; i < map.length ; i++)
- text += "#L" + i + "##m" + map[i] + "##l\r\n";
- cm.sendSimple(text);
- } else if (status == 1) {
- cm.spawnMonster(mob[selection], 10);
- cm.dispose();
- }
- }
Add Comment
Please, Sign In to add comment