I'd like my scripts to notify the user if they're being run under an old version of mafia where they're unlikely to work (or at least untested). The problem is that if the script calls a function that isn't present in the current version, it will give an error before it has a chance to run - so a get_mafia_version() function wouldn't solve the problem.
Could we get a way, at the top of the script, to do something like <minver = 6666>? If Mafia version 6665 attempted to run the script, it would first pop up something that said, "This script is designed for Mafia version 6666 or higher. Continue?"
Of course, this would only be helpful in the future, if the "old" version of mafia had this implemented already... still, better than the situation today, I think.
Could we get a way, at the top of the script, to do something like <minver = 6666>? If Mafia version 6665 attempted to run the script, it would first pop up something that said, "This script is designed for Mafia version 6666 or higher. Continue?"
Of course, this would only be helpful in the future, if the "old" version of mafia had this implemented already... still, better than the situation today, I think.