Hello,
right now I am working with 1.12.1. To archiev certain things I am using Framescript_Execute aswell Framescript_GetText.
When I was thinking about different steps I could take to optimize my code the following Idea came into my mind:
Lets say my bot is executing a Lua statement with Framescript_Execute and the client disconnects at the same time.
In this case WoW will most likely throw some Lua errors cause of function which are nil or better said not avaible while disconnected.
Should I try to avoid such situations by adding some code to prevent execution if not logged in with a character or is it useless effort which wont get me any benefit?
Code:if WorldFrame ~= nil then .... end