if gameText then
gameText("I exist","WARNING")
end
doesn't make it because the function returns nil anyway isn't it?
is there a variable with all the installed user functions? like settings.addons["gameText"] or settings.uf["gameText"] ? that records either the uf file names or the function names themselves?
Thanks for reading!
Some of you might find this useful: RoM-bot Wiki
User Functions Repository (and other useful files): Addon Repo
Latest SVN updates: SVN updates
No, that should work. The only time a value will return false is if it is "false" or "nil". A function is not nil. You don't have to worry about what the function returns because you are not executing it, you are just checking if it exists by treating it as an object. For it to be executed you have to include the brackets then you would be dealing with what it returns.
Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.