[CMD] @shutdown

Aeromesi

Custom Instance Maniac
Messages
821
Points
0
Age
33
Location
Custom Instances
Discord
Aeromesi#0293
Github
http://www.github.com/aeromesi
Emulator
So what exactly is my custom command @.shutdown?
Well it was based off @ request.
I modified it a lot and turned it from a whisper into a command, if you input 0 it directly shuts down your map-server.
You input the amount of minutes you want to start the shutdown.
If you type @@shutdown after you set a shutdown, it will cancel out that current shutdown you have in progress!

Enjoy guys, and here you go @ 
default_no1.gif
 

Just download attachment, install in npc folder and you're good to go.​
shutdown_cmd.txt

 

Attachments

Last edited by a moderator:
How about putting @kickall

in this case there will be no rollback to those players. (not so sure)
Code:
//Look for this
if (.Minutes <= 0 ) {
    //add this
    atcommand "@kickall";
    atcommand "@mapexit";// Direct Shutdown? use @mapexit instead
    end;
}
//Look for this
OnTimer120000:     
//add this   
    atcommand "@kickall";     
    atcommand "@mapexit";     
    end; 
}
 
Last edited by a moderator:
Back
Top