summaryrefslogtreecommitdiff
path: root/npc/commands
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-07-08 18:19:10 -0300
committerJesusaves <cpntb1@ymail.com>2018-07-08 18:19:10 -0300
commit350813333cb59dff30bd863bba1c44e4ce515d25 (patch)
tree232c2b3b292df84afadeb838495c4657e7abcd83 /npc/commands
parent9da5400c6358e2baf380c43a6781f8168501aed9 (diff)
downloadserverdata-350813333cb59dff30bd863bba1c44e4ce515d25.tar.gz
serverdata-350813333cb59dff30bd863bba1c44e4ce515d25.tar.bz2
serverdata-350813333cb59dff30bd863bba1c44e4ce515d25.tar.xz
serverdata-350813333cb59dff30bd863bba1c44e4ce515d25.zip
@lang to change language
Diffstat (limited to 'npc/commands')
-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..071e26cd7
--- /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, 0, 0;
+ end;
+}