Code: Select all
script.on_event(defines.events.on_player_selected_area, function(event) print("on_player_selected_area") end)
function print(text, color)
color = color or {r = 1, g = 1, b = 1}
if game then
for _, p in pairs(game.players) do
game.players[_].print(text, color)
end
end
end