summaryrefslogtreecommitdiff
path: root/npc/commands/language.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/commands/language.txt')
-rw-r--r--npc/commands/language.txt28
1 files changed, 28 insertions, 0 deletions
diff --git a/npc/commands/language.txt b/npc/commands/language.txt
new file mode 100644
index 000000000..ba5d3d6ee
--- /dev/null
+++ b/npc/commands/language.txt
@@ -0,0 +1,28 @@
+// @lang atcommand
+// Changes Language
+//
+// group lv: 0
+// group char lv: 0
+// log: False
+//
+// usage:
+// @lang
+//
+
+- script @lang 32767,{
+ end;
+
+OnCall:
+ checkclientversion;
+ mesq l("Tell me which language you speak and I will change the note on the ship passenger list.");
+ next;
+ asklanguage(LANG_IN_SHIP);
+ mes "";
+ mesn;
+ mesq l("Ok, done.");
+ close;
+
+OnInit:
+ bindatcmd "lang", "@lang::OnCall", 0, 99, 0;
+ end;
+}