Ok I've looked around and tryed using wowlua ingame, so far all i can do is play with the afkcheck and change the message, bit woop not what i was trying to do.
So i've given up, as you can see 'AFK Random Quotes' (Was gonna call it AFK Quote Of The Day) Is a AFK Message replacer, what i wanted it to do was pick from say 5-10 different quotes (Altered via GUI or Hard LUA Edit) Which then once whispered would reply with a different AFK message everytime. This is what i wanted to do, and this is what i failed todo.
So am asking any mod authors out there if they'd like to create it for me, keep the credit for the idea if you can make it. As i said i've tryed and failed, so the idea is there for anyone to use.
Goodluck if you decide to create this.
ps am also after a personl addon on a simular note, for when i go afk, it'll whisper my partner to let her know, as i often have to dash afk and dont always have time to say.
But i need to learn how to use
Code:
ADDONNAME:RegisterEvent("PLAYER_FLAGS_CHANGED");
But thats all i know for that bit apart from
Code:
if UnitIsAFK("player") then
SendChatMessage("msg", "chan", "Lang", "partners name");
end