diff options
Diffstat (limited to 'npc/commands/scheduled-broadcasts.txt')
-rw-r--r-- | npc/commands/scheduled-broadcasts.txt | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/npc/commands/scheduled-broadcasts.txt b/npc/commands/scheduled-broadcasts.txt index 972a0cf2..720651b3 100644 --- a/npc/commands/scheduled-broadcasts.txt +++ b/npc/commands/scheduled-broadcasts.txt @@ -213,13 +213,15 @@ OnCall: closeclientdialog; end; -OnPCLoginEvent: +OnInit: + bindatcmd "sched", "@sched::OnCall", 0, 99, 0; +} + +function script ReceiveScheduledBroadcast { if ($@SCHED_Opt[0] && $@SCHED_Msg$ != "") { announce $@SCHED_Msg$, bc_self; } - end; - -OnInit: - bindatcmd "sched", "@sched::OnCall", 0, 99, 0; + return; } + |