summaryrefslogtreecommitdiff
path: root/npc/commands/motd.txt
diff options
context:
space:
mode:
authorgumi <mekolat@users.noreply.github.com>2017-01-15 11:54:43 -0500
committergumi <mekolat@users.noreply.github.com>2017-01-15 11:54:43 -0500
commitfc4c06b12d35e62bcf52e19bd8a8754166b55efc (patch)
tree65a69067d4d5650ab7c02f3892234ce2ba3141b4 /npc/commands/motd.txt
parentf0687a529a0a143b0ceca96eb0546c39199f2878 (diff)
downloadserverdata-fc4c06b12d35e62bcf52e19bd8a8754166b55efc.tar.gz
serverdata-fc4c06b12d35e62bcf52e19bd8a8754166b55efc.tar.bz2
serverdata-fc4c06b12d35e62bcf52e19bd8a8754166b55efc.tar.xz
serverdata-fc4c06b12d35e62bcf52e19bd8a8754166b55efc.zip
rectify the indentation
Diffstat (limited to 'npc/commands/motd.txt')
-rw-r--r--npc/commands/motd.txt14
1 files changed, 7 insertions, 7 deletions
diff --git a/npc/commands/motd.txt b/npc/commands/motd.txt
index 98a63e87..0e2f5134 100644
--- a/npc/commands/motd.txt
+++ b/npc/commands/motd.txt
@@ -25,12 +25,12 @@ function script displayMOTD {
function script MOTDConfig {
- function toggleMOTD {
+ function toggleMOTD {
$MOTD_Disabled = !($MOTD_Disabled);
// FIXME: log to GM log
}
- function addNewLine {
+ function addNewLine {
clear;
mes l("Please enter the new line.");
input .@s$;
@@ -44,9 +44,9 @@ function script MOTDConfig {
}
}
- function modifyLine {
+ function modifyLine {
- function removeLine {
+ function removeLine {
.@l = getarg(0);
deletearray $MOTD_Messages$[.@l], 1; // remove and shift
mes l("Line @@ has been removed.", .@l);
@@ -54,21 +54,21 @@ function script MOTDConfig {
// FIXME: log to GM log
}
- function moveUp {
+ function moveUp {
.@l = getarg(0);
.@top$ = $MOTD_Messages$[.@l - 1];
$MOTD_Messages$[.@l - 1] = $MOTD_Messages$[.@l];
$MOTD_Messages$[.@l] = .@top$;
}
- function moveDown {
+ function moveDown {
.@l = getarg(0);
.@bottom$ = $MOTD_Messages$[.@l + 1];
$MOTD_Messages$[.@l + 1] = $MOTD_Messages$[.@l];
$MOTD_Messages$[.@l] = .@bottom$;
}
- function editLine {
+ function editLine {
.@l = getarg(0);
clear;
mes l("Old line:");