Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var status = 0;
- function start() {
- status = -1;
- action(1, 0, 0);
- }
- function action(mode, type, selection) {
- if (mode == -1) {
- cm.dispose();
- }
- else {
- if (status == 0 && mode == 0) {
- cm.dispose();
- return;
- }
- if (mode == 1) {
- status++;
- }
- else {
- status--;
- }
- if (status == 0) {
- cm.sendSimple("Hi, may i help you.\r\n#L0#Town Maps#1
- \r\n#L1#Monster Maps#l");
- } else if (status == 1) {
- if (selection == 0) {
- cm.sendOk("TEST");
- cm.dispose();
- }
- }
- }
- }
Add Comment
Please, Sign In to add comment