View Single Post
09-16-21, 06:48 PM   #7
Walkerbo
A Cobalt Mageweaver
 
Walkerbo's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2010
Posts: 233
Hi Ketho

Thanks for your post.

In you chunk you have;
Lua Code:
  1. local messages = {
  2.     [40] = "pets the Bombay Cat", -- Bombay Cat
  3.     [379] = "hello world", -- Squirrel (from pet battles)
  4. }

Is this not just a mapped table, as you have to have the petSpeciesID to compare to the summoned pet?
__________________
"As someone once told me, frames are just special types of tables, and tables are special types of pointers."
Fizzlemizz
  Reply With Quote