New()
AutoReboot()
proc
AutoReboot()
sleep(128000)
world << "<font face=\"Comic Sans MS\" size=1>\green World is Auto-Rebooting in 2 minutes!</font>"
sleep(1150)
world << "<font face=\"Comic Sans MS\" size=1>\green Auto-Rebooting in 5</font>"
sleep(10)
world << "<font face=\"Comic Sans MS\" size=1>\green Auto-Rebooting in 4</font>"
sleep(10)
world << "<font face=\"Comic Sans MS\" size=1>\green Auto-Rebooting in 3</font>"
sleep(10)
world << "<font face=\"Comic Sans MS\" size=1>\green Auto-Rebooting in 2</font>"
sleep(10)
world << "<font face=\"Comic Sans MS\" size=1>\green Auto-Rebooting in 1</font>"
sleep(10)
world.Reboot()
the error i get is Auto-reboot.dm:4:error: proc definition not allowed inside another proc
How can i fix this?
proc