Commit 090c909d authored by Atsukio's avatar Atsukio 🐬

Town - Fixed chat not sending messages to all players

parent a20fad88
......@@ -130,25 +130,25 @@ on chat:
log "<%player%> %message%" to "chat/%{day}%-%{month}%-%{year}%.log"
if {re.%player%.day} is more than 0:
if {_link} is set:
message "<tooltip:Rank: %{_rank}% %newline%Town: %{_playertown}% %newline%Playtime: %{re.%player%.day}% day(s) %{re.%player%.hour}% hour(s) %{re.%player%.minute}% minute(s) %{re.%player%.second}% second(s) %newline%Sent: %now%><%{_color}%%player's display name%<r><white>> %{_chat::1}%<link:%{_link}%><light cyan><i><u>[Click me]<r>%{_chat::2}%"
message "<tooltip:Rank: %{_rank}% %newline%Town: %{_playertown}% %newline%Playtime: %{re.%player%.day}% day(s) %{re.%player%.hour}% hour(s) %{re.%player%.minute}% minute(s) %{re.%player%.second}% second(s) %newline%Sent: %now%><%{_color}%%player's display name%<r><white>> %{_chat::1}%<link:%{_link}%><light cyan><i><u>[Click me]<r>%{_chat::2}%" to all players
stop
message "<tooltip:Rank: %{_rank}% %newline%Town: %{_playertown}% %newline%Playtime: %{re.%player%.day}% day(s) %{re.%player%.hour}% hour(s) %{re.%player%.minute}% minute(s) %{re.%player%.second}% second(s) %newline%Sent: %now%><%{_color}%%player's display name%<r><white>> %{_message}%"
message "<tooltip:Rank: %{_rank}% %newline%Town: %{_playertown}% %newline%Playtime: %{re.%player%.day}% day(s) %{re.%player%.hour}% hour(s) %{re.%player%.minute}% minute(s) %{re.%player%.second}% second(s) %newline%Sent: %now%><%{_color}%%player's display name%<r><white>> %{_message}%" to all players
#send json "<%{_color}%%player's display name%" tooltip "Rank: %{_rank}% %newline%Town: %{_playertown}% %newline%Playtime: %{re.%player%.day}% day(s) %{re.%player%.hour}% hour(s) %{re.%player%.minute}% minute(s) %{re.%player%.second}% second(s) %newline%Sent: %now%" then "<white>> %{_message}%" to all players
set {pchat.previouschat} to player's name
stop
if {re.%player%.hour} is more than 0:
if {_link} is set:
message "<tooltip:Rank: %{_rank}% %newline%Town: %{_playertown}% %newline%Playtime: %{re.%player%.hour}% hour(s) %{re.%player%.minute}% minute(s) %{re.%player%.second}% second(s) %newline%Sent: %now%><%{_color}%%player's display name%<r><white>> %{_chat::1}%<link:%{_link}%><light cyan><i><u>[Click me]<r>%{_chat::2}%"
message "<tooltip:Rank: %{_rank}% %newline%Town: %{_playertown}% %newline%Playtime: %{re.%player%.hour}% hour(s) %{re.%player%.minute}% minute(s) %{re.%player%.second}% second(s) %newline%Sent: %now%><%{_color}%%player's display name%<r><white>> %{_chat::1}%<link:%{_link}%><light cyan><i><u>[Click me]<r>%{_chat::2}%" to all players
stop
message "<tooltip:Rank: %{_rank}% %newline%Town: %{_playertown}% %newline%Playtime: %{re.%player%.hour}% hour(s) %{re.%player%.minute}% minute(s) %{re.%player%.second}% second(s) %newline%Sent: %now%><%{_color}%%player's display name%<r><white>> %{_message}%"
message "<tooltip:Rank: %{_rank}% %newline%Town: %{_playertown}% %newline%Playtime: %{re.%player%.hour}% hour(s) %{re.%player%.minute}% minute(s) %{re.%player%.second}% second(s) %newline%Sent: %now%><%{_color}%%player's display name%<r><white>> %{_message}%" to all players
#send json "<%{_color}%%player's display name%" tooltip "Rank: %{_rank}% %newline%Town: %{_playertown}% %newline%Playtime: %{re.%player%.hour}% hour(s) %{re.%player%.minute}% minute(s) %{re.%player%.second}% second(s) %newline%Sent: %now%" then "<white>> %{_message}%" to all players
set {pchat.previouschat} to player's name
stop
else:
if {_link} is set:
message "<tooltip:Rank: %{_rank}% %newline%Town: %{_playertown}% %newline%Playtime: %{re.%player%.minute}% minute(s) %{re.%player%.second}% second(s) %newline%Sent: %now%><%{_color}%%player's display name%<r><white>> %{_chat::1}%<link:%{_link}%><light cyan><i><u>[Click me]<r>%{_chat::2}%"
message "<tooltip:Rank: %{_rank}% %newline%Town: %{_playertown}% %newline%Playtime: %{re.%player%.minute}% minute(s) %{re.%player%.second}% second(s) %newline%Sent: %now%><%{_color}%%player's display name%<r><white>> %{_chat::1}%<link:%{_link}%><light cyan><i><u>[Click me]<r>%{_chat::2}%" to all players
stop
message "<tooltip:Rank: %{_rank}% %newline%Town: %{_playertown}% %newline%Playtime: %{re.%player%.minute}% minute(s) %{re.%player%.second}% second(s) %newline%Sent: %now%><%{_color}%%player's display name%<r><white>> %{_message}%"
message "<tooltip:Rank: %{_rank}% %newline%Town: %{_playertown}% %newline%Playtime: %{re.%player%.minute}% minute(s) %{re.%player%.second}% second(s) %newline%Sent: %now%><%{_color}%%player's display name%<r><white>> %{_message}%" to all players
# send json "<%{_color}%%player's display name%" tooltip "Rank: %{_rank}% %newline%Town: %{_playertown}% %newline%Playtime: %{re.%player%.minute}% minute(s) %{re.%player%.second}% second(s) %newline%Sent: %now%" then "<white>> %{_message}%" to all players
set {pchat.previouschat} to player's name
stop
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment