diff options
author | Dastgir <dastgirpojee@rocketmail.com> | 2016-01-16 20:29:35 +0530 |
---|---|---|
committer | Dastgir <dastgirpojee@rocketmail.com> | 2016-01-16 20:29:35 +0530 |
commit | fa0b6b57f01f2ff360a633e5b5620998b7c4a9c6 (patch) | |
tree | 4d498a2b0c030af860e8387cae14faa81fe264d9 /npc/custom/woe_controller.txt | |
parent | 5235fb8353dfc68d71608bb26b4ba776974a0991 (diff) | |
download | hercules-fa0b6b57f01f2ff360a633e5b5620998b7c4a9c6.tar.gz hercules-fa0b6b57f01f2ff360a633e5b5620998b7c4a9c6.tar.bz2 hercules-fa0b6b57f01f2ff360a633e5b5620998b7c4a9c6.tar.xz hercules-fa0b6b57f01f2ff360a633e5b5620998b7c4a9c6.zip |
Script Standardization: changed select format in custom folder
Diffstat (limited to 'npc/custom/woe_controller.txt')
-rw-r--r-- | npc/custom/woe_controller.txt | 12 |
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."; |