You can make this addon yourself if you like, first do this to create the addon itself:
1. Go to Wow\Interface\Addons
2. Create your addon folder for example "Lotto"
3. Inside this folder create "Lotto.toc" and put this in it:
Code:
## Interface: 401000
## Title: Lotto
## Notes: :3
thenameofthefile.lua
4. Create the file "thenameofthefile.lua" and in it put this:
Code:
local function InGuild(name)
for i = 1, GetNumGuildMembers() do
if name == GetGuildRosterInfo(i) then return i end
end
end
local f = CreateFrame("Frame")
f:RegisterEvent("CHAT_MSG_WHISPER")
f:SetScript("OnEvent", function(f, event, msg, sender)
if IsInGuild() and CanEditOfficerNote() then
if event == "CHAT_MSG_WHISPER" then
local index = InGuild(sender)
if index then
local prefix, value = (" "):split(msg, 2)
if prefix and value and prefix:lower():match("%!lotto") and value:match("^%d$") then
GuildRosterSetOfficerNote(value, index)
end
end
end
end
end)
Save these two files and the addon should show on the addon list, when you login those that whisper "!lotto [any number]" will have their note updated.