Author Topic: PtokaX version check  (Read 2022 times)

0 Members and 1 Guest are viewing this topic.

Offline bastya_elvtars

  • Forum God
  • ****
  • Posts: 3 725
  • Karma: +173/-7
  • The rock n' roll doctor
    • The FreshStuff3 Site
PtokaX version check
« on: 29 March, 2008, 15:05:51 »
This one-liner checks whether the user has the latet PtokaX.
Code: Lua
  1. assert(Core and (Core.Version):sub(1,3)~="0.4", "Your PtokaX version is outdated, grab the latest one from http://www.ptokax.org/downloads.html !")
Everything could have been anything else and it would have just as much meaning.

PtokaX forum

PtokaX version check
« on: 29 March, 2008, 15:05:51 »