summaryrefslogtreecommitdiff
path: root/npc/commands/language.txt
blob: 071e26cd7c7dd01004bee3bc9cbaefc3b5c67e7b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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;
}