variables: {odpis_1} = "siemka {PLAYER}" {odpis_2} = "witaj" {odpis_3} = "eluwa" on chat: if message contains "elo" or "siema" or "czesc" or "witam": clear {gracze::*} loop all players: add loop-player to {gracze::*} if (size of {gracze::*}) < 40: add "misiek123" and "giaterczka951" and "jasiek2001" and "krol_michal" and "wizzard" to {gracze::*} exit loop loop {gracze::*}: set {_x} to random integer 1 and 3 set {_wiad} to "&7%loop-value%: %{odpis_%{_x}%}%" replace all "{PLAYER}" in "%player%" in {_wiad} send "%{_wiad}%"