Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on chat:
- message contains "TOOLTIP":
- set {_message} to message
- replace all "TOOLTIP" with "##" in {_message}
- set {_1} to index of "##" in {_message}
- set {_2} to subtext of {_message} from character ({_1}+1) to
- character (length of {_message}-1)
- set {_mess} to message
- replace all "TOOLTIP%{_2}%TOOLTIP" with "" in {_mess}
- loop all players:
- send json message "%player's group%%player's name%:%{_mess}%" tooltip "%{_2}%" to all players
Advertisement
Add Comment
Please, Sign In to add comment