diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-06-14 12:11:19 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-06-14 12:11:19 -0300 |
commit | a01a02e3a87cc379cbbf3f75e1f51501fd76b710 (patch) | |
tree | f1e5a75cac2722b33728ac96e3bbf6f7b054dcd7 /npc/commands | |
parent | 035f0c38e23c9cab9a7f57972fb062be0e4b8b97 (diff) | |
download | serverdata-a01a02e3a87cc379cbbf3f75e1f51501fd76b710.tar.gz serverdata-a01a02e3a87cc379cbbf3f75e1f51501fd76b710.tar.bz2 serverdata-a01a02e3a87cc379cbbf3f75e1f51501fd76b710.tar.xz serverdata-a01a02e3a87cc379cbbf3f75e1f51501fd76b710.zip |
Swap two options at MotD Menu
Diffstat (limited to 'npc/commands')
-rw-r--r-- | npc/commands/motd.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/commands/motd.txt b/npc/commands/motd.txt index 32ebf7723..dfd3f7242 100644 --- a/npc/commands/motd.txt +++ b/npc/commands/motd.txt @@ -96,15 +96,15 @@ function script MOTDConfig { next; select menuimage("actions/back", l("Modify another line")), - menuimage("actions/remove", l("Remove this line")), menuimage("actions/edit", l("Modify this line")), + menuimage("actions/remove", l("Remove this line")), rif(.@n > 0, menuimage("actions/raise", l("Move this line up"))), rif(.@n < .@max, menuimage("actions/lower", l("Move this line down"))), menuimage("actions/home", l("Return to main menu")); switch (@menu) { - case 2: removeLine .@n; return; - case 3: editLine .@n; return; + case 2: editLine .@n; return; + case 3: removeLine .@n; return; case 4: moveUp .@n; return; case 5: moveDown .@n; return; case 6: return; |