From 114a46d027e34a9bfa419ee85f7bfc35a15617dd Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 21 May 2018 22:51:33 +0000 Subject: Raise minimum client version from 20 to (24 ok, 22 kick) --- npc/functions/clientversion.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'npc/functions') diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt index ba74c082b..0f1cba4b0 100644 --- a/npc/functions/clientversion.txt +++ b/npc/functions/clientversion.txt @@ -1,11 +1,13 @@ +// TMW2 Scripts // Evol functions. // Author: // 4144 +// Jesusalva // Description: // Function checking the client version and reports if it is too old. function script checkclientversion { - if (ClientVersion > 20) return; + if (ClientVersion >= 24) return; mesn "Narrator"; mes col("Warning.", 1); @@ -14,7 +16,8 @@ function script checkclientversion { next; mes col("Please install the new client from [@@https://manaplus.org/|https://manaplus.org/@@]", 9); next; - mes col("You won't be allowed to play this game until you have a valid client.", 9); + if (ClientVersion >= 22) return; + mes col("You won't be allowed to play this game until you have an updated client.", 9); next; // Force user to disconnect atcommand "@kick "+strcharinfo(0); -- cgit v1.2.3-60-g2f50