From 6fe7f254952d180ed9c1d6a4bd5424b1092c342b Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 21 Oct 2019 13:03:57 -0300 Subject: If you cannot use the skill, broadcast the error message on IRC --- npc/commands/language.txt | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'npc/commands') diff --git a/npc/commands/language.txt b/npc/commands/language.txt index e7e1ecd7a..a03e2cf70 100644 --- a/npc/commands/language.txt +++ b/npc/commands/language.txt @@ -13,10 +13,7 @@ // @lang // -- script @lang 32767,{ - end; - -OnCall: +function script CMD_lang { checkclientversion; mesq l("Which language do you speak?"); next; @@ -24,6 +21,14 @@ OnCall: mes ""; mesn; mesq l("Ok, done."); + return; +} + +- script @lang 32767,{ + end; + +OnCall: + CMD_lang(); close; OnInit: -- cgit v1.2.3-70-g09d2