init start local Ghazbaran = {"Try", "ancient", "entities", "Hrodmir"} local Ferumbras = {"Ferumbras", "old", "Heroes", "citadel"} local Ghazaroth = {"shatter"} local Count = {"Pale"} local Orshabaal = {"Orshabaal's"} local Morgaroth = {"Goroma"} local Pirates = {"everywhere"} local Orcs = {"activity", "reported!", "reported"} local Lancers1 = {"swarm"} local Lancers2 = {"troop"} local Zulazza = {"Zzaion", "massive"} local Cublarc = {"horde"} local Draptors = {"Dragonblaze"} local test = {"Try"} init end auto(100) foreach newmessage m do if(m.type == MSG_RAID or m.type == MSG_STATUS) then for k, v in ipairs(Ghazbaran) do if(m.content:find(v)) then do messagebox(os.date("%X"), 'Ghazbaran Spawned') printerror('Ghazbaran Spawned!') wait(1000) end else auto(100) foreach newmessage m do if(m.type == MSG_RAID or m.type == MSG_STATUS) then for k, v in ipairs(Ferumbras) do if(m.content:find(v)) then do messagebox(os.date("%X"), 'Ferumbras Spawned') printerror('Ferumbras Spawned!') wait(1000) end else auto(100) foreach newmessage m do if(m.type == MSG_RAID or m.type == MSG_STATUS) then for k, v in ipairs(Ghazaroth) do if(m.content:find(v)) then do messagebox(os.date("%X"), 'Ghazaroth Spawned') printerror('Ghazaroth Spawned!') wait(1000) end else auto(100) foreach newmessage m do if(m.type == MSG_RAID or m.type == MSG_STATUS) then for k, v in ipairs(Count) do if(m.content:find(v)) then do messagebox(os.date("%X"), 'The Pale Count Spawned') printerror('The Pale Count Spawned!') wait(1000) end else auto(100) foreach newmessage m do if(m.type == MSG_RAID or m.type == MSG_STATUS) then for k, v in ipairs(Orshabaal) do if(m.content:find(v)) then do messagebox(os.date("%X"), 'Orshabaal Spawned') printerror('Orshabaal Spawned!') wait(1000) end else auto(100) foreach newmessage m do if(m.type == MSG_RAID or m.type == MSG_STATUS) then for k, v in ipairs(Morgaroth) do if(m.content:find(v)) then do messagebox(os.date("%X"), 'Morgaroth Spawned') printerror('Morgaroth Spawned!') wait(1000) end else auto(100) foreach newmessage m do if(m.type == MSG_RAID or m.type == MSG_STATUS) then for k, v in ipairs(Pirates) do if(m.content:find(v)) then do messagebox(os.date("%X"), 'Pirates Attack on Liberty') printerror('Pirates Attack on Liberty!') wait(1000) end auto(100) foreach newmessage m do if(m.type == MSG_RAID or m.type == MSG_STATUS) then for k, v in ipairs(Orcs) do if(m.content:find(v)) then do messagebox(os.date("%X"), 'Orc Attack on Thais!') printerror('Orc Attack on Thais!') wait(1000) end auto(100) foreach newmessage m do if(m.type == MSG_RAID or m.type == MSG_STATUS) then for k, v in ipairs(Lancers1) do if(m.content:find(v)) then do messagebox(os.date("%X"), 'Lancers at Muggy Plains!') printerror('Lancers at Muggy Plain!') wait(1000) end auto(100) foreach newmessage m do if(m.type == MSG_RAID or m.type == MSG_STATUS) then for k, v in ipairs(Lancers2) do if(m.content:find(v)) then do messagebox(os.date("%X"), 'Lancers at Stepp!') printerror('Lancers at Stepps!') wait(1000) end auto(100) foreach newmessage m do if(m.type == MSG_RAID or m.type == MSG_STATUS) then for k, v in ipairs(Zulazza) do if(m.content:find(v)) then do messagebox(os.date("%X"), 'Zulazza spawned!') printerror('Zulazza Spawned!') wait(1000) end auto(100) foreach newmessage m do if(m.type == MSG_RAID or m.type == MSG_STATUS) then for k, v in ipairs(Cublarc) do if(m.content:find(v)) then do messagebox(os.date("%X"), 'Orc raid on Zao!') printerror('Orc raid on Zao!') wait(1000) end auto(100) foreach newmessage m do if(m.type == MSG_RAID or m.type == MSG_STATUS) then for k, v in ipairs(Draptors) do if(m.content:find(v)) then do messagebox(os.date("%X"), 'Draptors raid on Zao!') printerror('Draptors raid on Zao!') wait(1000) end auto(100) foreach newmessage m do if(m.type == MSG_RAID or m.type == MSG_STATUS) then for k, v in ipairs(test) do if(m.content:find(v)) then do messagebox('testst raid on Zao!') printerror('testst raid on Zao!') wait(1000) end end end end end end end end end end end end end end end end end end end end end end end end end end end end end end end end end end end end end end end end end end end end end end end end end end end end end end end end end