- Joined
- May 29, 2023
- Messages
- 41
Chat with other players without being in the same world!
only works with your own worlds
in the 1st world:
World Event Receive Data (Name = "Global Chat") > Game Action Read Data From Channel (Channel = "Global Chat", Variable = receivedData) >
Player Action Send Message %All% (Text = receivedData)
this will receive messages from the other world and send them to the players in the world
Player Event Chat Message > Game Action Write to Channel ( ID = *numeric id of the 2nd world*, Channel = "Global Chat", Values = "*world name* »", GameValue Current Name, ":" GameValue Player Message)
this will send players' messages to the other world
in the 2nd world:
Copy and paste the code just change the ID to the be first world