RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
[REQUEST] Update Notifier

0 Members and 1 Guest are viewing this topic.

**
Rep:
Level 86
M3G4 UB3R SUP4 H4X0R ULT1M4T3 PWN4G3!
I would like to request this script:

It should - every time it starts - , read an page on the net (like http://rmrk.net/MyGame/UpdateNotifier/BETA_0.2.htm).
If the page shows something like: Newest version, it should start normal.
But if it shows something like: Newer Version, it should block the game from starting, and show a message like: BETA 0.3 Released, please update if you want to keep playing.
Spoiler for:






In my own (fantasy xD) coding language it would look like this:
<$meScript
download ['http://rmrk.net/MyGame/UN/BETA_0.3.msf'] store in = ['variable']
read ['variable']
if ['variable'] shows ['Latest_Version']
           show: ['You got the latest version!']
           open: ['Title_Screen']
if ['variable'] shows ['Newer_Version_%S'] %S = ['variable_version']
           show: ['Version ['variable_version'] has been released, please update to keep playing']
           quit ['Game']
else
           show: ['An error occured while reading version number, please try again later, or contact game support.']
           quit ['Game']
$meScript>

The .msf file could be anything here, because i just wanted to give an example.

Many, many, many thanks in advance,
Megaempire11