summaryrefslogtreecommitdiff
path: root/npc/commands/magic.txt
diff options
context:
space:
mode:
authorjesusalva <cpntb1@ymail.com>2018-02-15 14:26:54 -0200
committerjesusalva <cpntb1@ymail.com>2018-02-15 14:26:54 -0200
commit282e0c052971413c47392f53b47f970c05da0440 (patch)
treecd998529df21410fb2fd9ba3c1ca6018bd477ba8 /npc/commands/magic.txt
parent52d67d3ae1f6151c6582fa34f4e0caf90a0d17b7 (diff)
downloadserverdata-282e0c052971413c47392f53b47f970c05da0440.tar.gz
serverdata-282e0c052971413c47392f53b47f970c05da0440.tar.bz2
serverdata-282e0c052971413c47392f53b47f970c05da0440.tar.xz
serverdata-282e0c052971413c47392f53b47f970c05da0440.zip
Prevent @Crazyfefe from crashing server with #itenplz. I hope.
Diffstat (limited to 'npc/commands/magic.txt')
-rw-r--r--npc/commands/magic.txt32
1 files changed, 32 insertions, 0 deletions
diff --git a/npc/commands/magic.txt b/npc/commands/magic.txt
new file mode 100644
index 000000000..d63bf70a7
--- /dev/null
+++ b/npc/commands/magic.txt
@@ -0,0 +1,32 @@
+function script MagicIsDead {
+
+ setnpcdialogtitle l("We regret to inform...");
+ mes l("Magic is dead!");
+ next;
+ mes "";
+ mes l("You are staff, so no complaining! Go do it yourself!");
+ next;
+ return;
+}
+
+
+
+- script @MagicIsDead 32767,{
+ end;
+
+OnCall:
+ MagicIsDead;
+ closedialog;
+ end;
+
+OnInit:
+ bindatcmd "itenplz", "@MagicIsDead::OnCall", 100, 1, 0;
+ bindatcmd "lum", "@MagicIsDead::OnCall", 100, 1, 0;
+ bindatcmd "chiza", "@MagicIsDead::OnCall", 100, 1, 0;
+ bindatcmd "ingrav", "@MagicIsDead::OnCall", 100, 1, 0;
+ bindatcmd "frillyar", "@MagicIsDead::OnCall", 100, 1, 0;
+ bindatcmd "upmarmu", "@MagicIsDead::OnCall", 100, 1, 0;
+ bindatcmd "flar", "@MagicIsDead::OnCall", 100, 1, 0;
+
+
+}