Code: Select all
$ver = readurl("http://www.xyplorer.com/version.php");
if (compare($ver, <xyver>, "v") == 1) {
msg "There is a new official version ($ver) available for download!";
} Code: Select all
$ver = readurl("http://www.xyplorer.com/version.php");
if (compare($ver, <xyver>, "v") == 1) {
msg "There is a new official version ($ver) available for download!";
} I'm just thinking about adding a command switch /cfu=1, no scripting needed. I guess that would be easier?JoyceAE wrote:And where would I put this nice script? I am not familiar with scripting in XYplorer.
Joyce
Code: Select all
$ver = readurl("http://www.xyplorer.com/version.php");
if (compare($ver, <xyver>, "v") == 1) {
msg "There is a new official version ($ver) available for download!";
} else {msg "Official version ($ver). Your version <xyver> is current";}You may want to refer to this: Tips: Managing Scripts.JoyceAE wrote:And where would I put this nice script? I am not familiar with scripting in XYplorer.