summaryrefslogtreecommitdiff
path: root/npc/custom/woe_controller.txt
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-02-07 01:23:46 +0100
committerHaru <haru@dotalux.com>2016-02-07 01:23:46 +0100
commit1fd628e7be9e6de4ea48394be09ae10e912d8f3d (patch)
tree4e5b42a444f83976c33f22540d3aa46a8ceb7001 /npc/custom/woe_controller.txt
parente68aa1f74d315f7bf24d7c8829002d0031b23539 (diff)
parent0462bc828e59ce99a48303a2f6190d3a01ce9465 (diff)
downloadhercules-1fd628e7be9e6de4ea48394be09ae10e912d8f3d.tar.gz
hercules-1fd628e7be9e6de4ea48394be09ae10e912d8f3d.tar.bz2
hercules-1fd628e7be9e6de4ea48394be09ae10e912d8f3d.tar.xz
hercules-1fd628e7be9e6de4ea48394be09ae10e912d8f3d.zip
Merge pull request #1110 from dastgir/22-ScriptClean-Phase2
Script CleanUp Phase 2
Diffstat (limited to 'npc/custom/woe_controller.txt')
-rw-r--r--npc/custom/woe_controller.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/npc/custom/woe_controller.txt b/npc/custom/woe_controller.txt
index fee4dfac5..b0836820f 100644
--- a/npc/custom/woe_controller.txt
+++ b/npc/custom/woe_controller.txt
@@ -234,7 +234,7 @@ while(1) {
}
}
next;
- switch(select(""+((.CastleWarp || .Active[1])?" ~ Warp to castles...":"")+": ~ Check schedule...: ~ View castle owners...:"+((getgmlevel()<.GMAccess || !getgmlevel())?"":" ~ Manage sessions...")+": ~ ^777777Cancel^000000")) {
+ switch(select(((.CastleWarp || .Active[1])?" ~ Warp to castles...":""), "~ Check schedule...", " ~ View castle owners...", ((getgmlevel()<.GMAccess || !getgmlevel())?"":" ~ Manage sessions..."), " ~ ^777777Cancel^000000")) {
case 1:
if (.CastleWarp) set .@clr$,"^0055FF";
set .@menu$,"";
@@ -287,7 +287,7 @@ while(1) {
mes "There are ^0055FF"+(.Size/4)+" session(s)^000000 configured.";
mes "What would you like to do?";
next;
- switch(select(" ~ Add a session...: ~ Delete a session...: ~ Reload settings...:"+((agitcheck() || agitcheck2())?" ~ End WOE session...":"")+": ~ ^777777Go back^000000")) {
+ switch(select(" ~ Add a session...", " ~ Delete a session...", " ~ Reload settings...", ((agitcheck() || agitcheck2())?" ~ End WOE session...": ""), " ~ ^777777Go back^000000")) {
case 1:
mes "[New Session]";
if (.Size > 127) {
@@ -344,7 +344,7 @@ while(1) {
mes "[New Session]";
mes "Are you sure?";
next;
- switch(select(" ~ ^0055FFAdd session...^000000: ~ Continue selecting castles...: ~ ^777777Cancel^000000")) {
+ switch(select(" ~ ^0055FFAdd session...^000000", " ~ Continue selecting castles...", " ~ ^777777Cancel^000000")) {
case 1:
for(set .@i,0; .@i<.Size; set .@i,.@i+4)
if ((.@day == $WOE_CONTROL[.@i] && .@end <= $WOE_CONTROL[.@i+1]) || .@day < $WOE_CONTROL[.@i]) {
@@ -386,7 +386,7 @@ while(1) {
mes "Delete ^0055FF"+.Days$[$WOE_CONTROL[.@i*4]]+"'s^000000 session?";
mes "This action cannot be undone.";
next;
- set .@j, select(" ~ ^FF0000Delete session...^000000: ~ ^777777Cancel^000000");
+ set .@j, select(" ~ ^FF0000Delete session...^000000", " ~ ^777777Cancel^000000");
mes "[Remove Session]";
if (.@j == 2)
mes "Cancelled.";
@@ -405,7 +405,7 @@ while(1) {
mes "Be aware that this will disrupt the current WOE session.";
}
next;
- set .@i, select(" ~ ^0055FFReload settings...^000000: ~ ^777777Cancel^000000");
+ set .@i, select(" ~ ^0055FFReload settings...^000000", " ~ ^777777Cancel^000000");
mes "[Reload Settings]";
if (.@i == 2) mes "Cancelled.";
else {
@@ -426,7 +426,7 @@ while(1) {
mes " ";
mes "Kill the current WOE session?";
next;
- set .@i, select(" ~ ^FF0000End session...^000000:"+((.Options&1)?" ~ ^FF0000End session without rewards...^000000":"")+": ~ ^777777Cancel^000000");
+ set .@i, select(" ~ ^FF0000End session...^000000", ((.Options&1)?" ~ ^FF0000End session without rewards...^000000": ""), " ~ ^777777Cancel^000000");
mes "[Force Agit End]";
if (.@i == 3)
mes "Cancelled.";