Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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.sendOk("#eGoogbye then.");
- cm.dispose();
- return;
- }
- if (mode == 1)
- status++;
- else
- status--;
- if (status == 0) {
- cm.sendYesNo("#eWould you like your skills to be maxed?");
- }
- else if (status == 1) {
- cm.getPlayer().maxAllSkills();
- cm.sendOk("#eYour skills have been maxed!");
- cm.dispose();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement