summaryrefslogtreecommitdiff
path: root/npc/commands/language.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-10-21 13:03:57 -0300
committerJesusaves <cpntb1@ymail.com>2019-10-21 13:03:57 -0300
commit6fe7f254952d180ed9c1d6a4bd5424b1092c342b (patch)
tree2459898e76b0ad81d55c25a1fa6babed3ae998a5 /npc/commands/language.txt
parentcc543c9823acd389a89d6269f3d3c467871072e0 (diff)
downloadserverdata-6fe7f254952d180ed9c1d6a4bd5424b1092c342b.tar.gz
serverdata-6fe7f254952d180ed9c1d6a4bd5424b1092c342b.tar.bz2
serverdata-6fe7f254952d180ed9c1d6a4bd5424b1092c342b.tar.xz
serverdata-6fe7f254952d180ed9c1d6a4bd5424b1092c342b.zip
If you cannot use the skill, broadcast the error message on IRC
Diffstat (limited to 'npc/commands/language.txt')
-rw-r--r--npc/commands/language.txt13
1 files changed, 9 insertions, 4 deletions
diff --git a/npc/commands/language.txt b/npc/commands/language.txt
index e7e1ecd7a..a03e2cf70 100644
--- a/npc/commands/language.txt
+++ b/npc/commands/language.txt
@@ -13,10 +13,7 @@
// @lang
//
-- script @lang 32767,{
- end;
-
-OnCall:
+function script CMD_lang {
checkclientversion;
mesq l("Which language do you speak?");
next;
@@ -24,6 +21,14 @@ OnCall:
mes "";
mesn;
mesq l("Ok, done.");
+ return;
+}
+
+- script @lang 32767,{
+ end;
+
+OnCall:
+ CMD_lang();
close;
OnInit: