WoWInterface - View Single Post - Logging the item my character acquired
View Single Post
05-20-17, 06:48 AM   #17
A Cliff Giant
Join Date: Apr 2017
Posts: 75
In this example check "if event == my_event" then can be omitted - the frame f is registered to listen to only "CHAT_MSG_LOOT". Forgot to delete. You can test by inserting after line 8 "else print(event)"
You might want to use string.find(where_to_search,what_to_search).
  Reply With Quote