This function will return true if the user is currently connected to the internet and the chosen leaderboard and achievement system is available, otherwise it will return false.
achievement_available()
Boolean
if achievement_available() achievement_post("ach_Level1", 100);
The above code will check that the leaderboard service is available and if so, post to it.