summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/001-1/eventmaster.txt2
-rw-r--r--npc/commands/scheduled-broadcasts.txt6
2 files changed, 3 insertions, 5 deletions
diff --git a/npc/001-1/eventmaster.txt b/npc/001-1/eventmaster.txt
index 2b511659a..bc80cb71a 100644
--- a/npc/001-1/eventmaster.txt
+++ b/npc/001-1/eventmaster.txt
@@ -478,7 +478,7 @@ L_Plants:
mes "Completed.";
mes "Total spawns: "+str(@log_spawns);
next;
- goto L_Plant;
+ goto L_Plants;
L_Agr:
diff --git a/npc/commands/scheduled-broadcasts.txt b/npc/commands/scheduled-broadcasts.txt
index ca57f8d2f..78515e09e 100644
--- a/npc/commands/scheduled-broadcasts.txt
+++ b/npc/commands/scheduled-broadcasts.txt
@@ -8,8 +8,7 @@ function script StoneBoard {
next;
input .@msg$;
.@msg$ = strip(.@msg$);
- if (.@msg$ != "")
- {
+ if (.@msg$ != "") {
return .@msg$;
}
mes l("The message cannot be empty");
@@ -34,8 +33,7 @@ function script StoneBoard {
}
function setMaxRep {
- if (getarg(0,0) == 0)
- {
+ if (getarg(0,0) == 0) {
return 0;
}
clear;