// verb for admins to set custom event
/client/proc/cmd_admin_change_custom_event()
set category = "Fun"
set name = "Change Custom Event"
if(!holder)
src << "Only administrators may use this command."
return
var/input = input(usr, "Enter the description of the custom event. Be descriptive. To cancel the event, make this blank or hit cancel.", "Custom Event", custom_event_msg) as message|null
if(!input || input == "")
custom_event_msg = null
return
custom_event_msg = input
world << "
Custom Event
"
world << "A custom event is starting. OOC Info:
"
world << "[html_encode(custom_event_msg)]"
world << "
"
// normal verb for players to view info
/client/verb/cmd_view_custom_event()
set category = "OOC"
set name = "Custom Event Info"
if(!custom_event_msg || custom_event_msg == "")
src << "There currently is no known custom event taking place."
src << "Keep in mind: it is possible that an admin has not properly set this."
return
src << "Custom Event
"
src << "A custom event is taking place. OOC Info:
"
src << "[html_encode(custom_event_msg)]"
src << "
"