SphereCommunity
Check Client Version? - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: Check Client Version? (/Thread-Check-Client-Version)



Check Client Version? - yopa - 04-03-2013 05:25 AM

Hey there!

I'm trying to find a way to make my gate check for a client version.
I don't want people with old clients to be stucked in map 2/3/4.
However, I cannot find the right way to do it.

For example:

Code:
@STEP
IF client version is X.XX
go morep
ELSE go blabla

Is there an easy way to check the client version?

(edit: sorry if this is somewhere here or on the wiki, I just couldn't find it.)

Thanks!


RE: Check Client Version? - darksun84 - 04-03-2013 05:33 AM

CLIENTVERSION R Gets the client version the client is using, based on the encryption keys being used (unencrypted clients return 0).


RE: Check Client Version? - yopa - 04-05-2013 03:29 AM

CLIENTVERSION works fine, thank you!