Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local msg = "Loot and pillage, bwahahaha!"
- local autoinvite = CreateFrame("frame")
- autoinvite:RegisterEvent("CHAT_MSG_MONSTER_YELL")
- autoinvite:SetScript("OnEvent", function(self,event,arg1,arg2)
- if arg1:match(msg) then
- SendChatMessage("{square}{square} GALLEON SPAWNED!!!!!!!!!! RED ALERT MOTHERFUCKERS {square}{square}", "GUILD", nil, nil)
- SendChatMessage("{square}{square} WHISPER ME -> inv <- {square}{square}", "GUILD", nil, nil)
- SendChatMessage("WHISPER ME -> INV <- FOR GALLEON RAID, AUTOPROMOTE IS ON", "WHISPER", nil, nil)
- InviteUnit("Sakurako")
- InviteUnit("Ravengaar")
- end
- end)
- local f = CreateFrame("frame")
- f:RegisterEvent("CHAT_MSG_WHISPER")
- f:SetScript("OnEvent", function(self,event,arg1,arg2)
- if arg1:lower():match("inv") then
- InviteUnit(arg2)
- end
- end)
Add Comment
Please, Sign In to add comment