Script for muting global chat for everyone

Users who are viewing this thread

Hey guys,

So, this is the base scripts.txt, with the global muting chat only. If you use more scripts, you have to add them out.

https://mega.nz/#!KElg3RYB!ce6xWFwpMIBelG3VTVbMWxqAxFzH73W8HphS-U25k9g

Anything just ask here.
 
It's always nice to see contributions made towards the community; however, it seems the file is protected with a "decryption key"/password. :smile:
 
I have something that works for those who edit their source. It may not be the same way you did it, but here is my source.

I simply added the following right after ("game_receive_url_response",

## 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


Enjoy
 
Back
Top Bottom