@@ -24,16 +24,20 @@ function action(mode, type, selection) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cm.isQuestActive(22515) || cm.isQuestActive(22516) || cm.isQuestActive(22517) || cm.isQuestActive(22518)) {
|
else if (cm.isQuestActive(22515) || cm.isQuestActive(22516) || cm.isQuestActive(22517) || cm.isQuestActive(22518)) {
|
||||||
cm.sendYesNo("Would you like to go in the special Spore Training Center?");
|
cm.sendYesNo("Would you like to enter the special Training Center?");
|
||||||
status = 1;
|
status = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
else {
|
||||||
|
|
||||||
var selStr = "Would you like to go into the Training Center?";
|
var selStr = "Would you like to go into the Training Center?";
|
||||||
for (var i = 0; i < num; i++) {
|
for (var i = 0; i < num; i++) {
|
||||||
selStr += "\r\n#b#L" + i + "#Training Center " + i + " (" + cm.getPlayerCount(map + i) + "/" + maxp + ")#l#k";
|
selStr += "\r\n#b#L" + i + "#Training Center " + i + " (" + cm.getPlayerCount(map + i) + "/" + maxp + ")#l#k";
|
||||||
}
|
}
|
||||||
cm.sendSimple(selStr);
|
cm.sendSimple(selStr);
|
||||||
|
}
|
||||||
|
|
||||||
} else if (status == 1) {
|
} else if (status == 1) {
|
||||||
if (selection < 0 || selection >= num) {
|
if (selection < 0 || selection >= num) {
|
||||||
cm.dispose();
|
cm.dispose();
|
||||||
|
|||||||
Reference in New Issue
Block a user