summaryrefslogtreecommitdiff
path: root/npc/commands/language.txt
blob: e7e1ecd7a53d27c9f9d84198e50107afaa6334de (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
29
30
31
32
// TMW2 Script
// Author: Jesusalva
// With code parts from Julia (Evol)

// @lang atcommand
// Changes Language
//
// group lv: 0
// group char lv: 0
// log: False
//
// usage:
//    @lang
//

-	script	@lang	32767,{
    end;

OnCall:
    checkclientversion;
    mesq l("Which language do you speak?");
    next;
    asklanguage(LANG_IN_SHIP);
    mes "";
    mesn;
    mesq l("Ok, done.");
    close;

OnInit:
    bindatcmd "lang", "@lang::OnCall", 0, 60, 0;
    end;
}