Jump to content
  • 0

Q/R>server annoucnement before maintenance


CursorX

Question


  • Group:  Members
  • Topic Count:  66
  • Topics Per Day:  0.02
  • Content Count:  168
  • Reputation:   0
  • Joined:  11/20/13
  • Last Seen:  

hi may i request a script.. that will help me as an admin to announce the maintenance

 

1. Every Tuesday - 10am maintenance <<< will shutdown the server

2. it will announce at 9am (says Server Maintenance in 1hr)

then 9:15am it will announce again (says Server Maintenance in 45mins.)

then 9:30am it will announce again (says Server Maintenance in 30mins.)

then 9:45am it will announce again (says Server Maintenance in 15mins.)

then 9:58am it will announce again (says Server Maintenance in 2mins. Please Logout to prevent item lost and rollbacks)

when 10am comes (server will be offline (login/char/map))

 

possible? or everything is possible? :D

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  

-	script	Maintenance	-1,{

OnTue09000:
	announce "Server maintenance in 1 hour",0;
	end;
OnTue0915:
	announce "Server maintenance in 45 mins.",0;
	end;
OnTue0930:
	announce "Server maintenance in 30 mins.",0;
	end;
OnTue0945:
	announce "Server maintenance in 15 mins.",0;
	end;
OnTue0958:
	announce "Server maintenance in 2 mins. Please logout to prevent item loss and rollbacks.",0;
	end;
OnTue1000:
	atcommand "@kickall";
	atcommand "@mapexit";
	end;

}

or..

-	script	Maintenance	-1,{

OnTue09000:
	announce "Server maintenance in 1 hour",0;
	sleep2 900000;
	announce "Server maintenance in 45 mins.",0;
	sleep2 900000;
	announce "Server maintenance in 30 mins.",0;
	sleep2 900000;
	announce "Server maintenance in 15 mins.",0;
	sleep2 780000;
	announce "Server maintenance in 2 mins. Please logout to prevent item loss and rollbacks.",0;
	sleep2 120000;
	atcommand "@kickall";
	atcommand "@mapexit";
	end;

}

whatever floats your boat..

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...