Skip to content

Instantly share code, notes, and snippets.

@jmhertlein
Created August 11, 2012 23:20
Show Gist options
  • Select an option

  • Save jmhertlein/3327775 to your computer and use it in GitHub Desktop.

Select an option

Save jmhertlein/3327775 to your computer and use it in GitHub Desktop.
procedure: serverCountdownTask
var remainingTime := 5
procedure run()
if(remainingTime <= 0) then
Bukkit.shutdown()
else
print("Halt in " + remainingTime)
remainingTime--
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment