View Single Post
03-28-09, 11:41 AM   #2
jadakren
A Flamescale Wyrmkin
 
jadakren's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2007
Posts: 103
One idea i have for this is to store the function logic as strings within another table. (oUF.TagsLogicStrings)

upon initial addon_loaded event i would compile each function string to the oUF.Tags table and from that point ouf.tags is operating as it does normally.

when a user needs to edit the logic, the editor then pulls the logic string from oUF.TagsLogicStrings[tagName] and presents it the editor multiline field.

user then modifies the logic and saves it at which point the string is recompiled back to oUF.Tags.
  Reply With Quote