Hi Ketho
Thanks for your post.
In you chunk you have;
Lua Code:
local messages = {
[40] = "pets the Bombay Cat", -- Bombay Cat
[379] = "hello world", -- Squirrel (from pet battles)
}
Is this not just a mapped table, as you have to have the petSpeciesID to compare to the summoned pet?