summaryrefslogtreecommitdiff
path: root/npc/functions/clientversion.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/clientversion.txt')
-rw-r--r--npc/functions/clientversion.txt7
1 files changed, 5 insertions, 2 deletions
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);