summaryrefslogblamecommitdiff
path: root/npc/commands/language.txt
blob: a03e2cf704f5c19e95e3041d65372232a2aaf5c3 (plain) (tree)
1
2
3
4



                                    










                   
                                         
                       
                                           




                              







                               


          
                                                

        
// 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
//

function	script	CMD_lang	{
    checkclientversion;
    mesq l("Which language do you speak?");
    next;
    asklanguage(LANG_IN_SHIP);
    mes "";
    mesn;
    mesq l("Ok, done.");
    return;
}

-	script	@lang	32767,{
    end;

OnCall:
    CMD_lang();
    close;

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