Advertisement
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.sendYesNo(Hi would you like to trade 2 ds eggs for a Ioc?" ) ;
- if (cm.haveItem(4170012, 2 ) ) {
- cm.gainItem(4170012 , 1);
- cm.dispose () ;
- 4170012 Event Trophy
- } else {
- cm.sendOk ("You do not have enough
- Ds Egg . ") ;
- cm.dispose() ;
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement