-- timed mass message from text by ¨˜”°º•Hawk•º°”˜¨ -- create a massmessage.txt file in the scripts directory -- containing your message SendEvery = 2 ---- time in hrs textfile = "massmessage.txt" bot = "Mass_Message" hrs = 1000 * 60 * 60 * SendEvery function Main() SetTimer(hrs) StartTimer() end function OnTimer() massMessageToAll() end function massMessageToAll() local handle = openfile(textfile, "r") if (handle ~= nil) then local line = read(handle) Temptimerfile = "\r\n" while line do Temptimerfile = Temptimerfile.."\r\n"..line line = read(handle) end SendPmToAll(bot, Temptimerfile) closefile(handle) end end