## MUTE GLOBAL
(player_get_is_muted, ":is_muted", ":player_id"),
(try_begin),
(eq, ":is_muted", 0),
(assign, ":is_muted", 1),
(else_try),
(assign, ":is_muted", 0),
(try_end),
(player_set_is_muted, ":player_id", ":is_muted", 1),
(str_clear, s0),
(str_store_string, s0, "@Global chat has been disabled to decrease the amount of meta-gaming"),
(multiplayer_send_string_to_player, ":player_id", server_event_admin_chat, s0), #this will send string to player when they join notifying them that global chat is disabled