Can't use "userfunctions" o.O
Posted: Tue Nov 23, 2010 10:44 pm
Hi,
I made a function to check if a certain food buff was "on" and if it wasn't to eat the food!
But when I created a function file "name.lua" and placed it under userfunctions dir the bot wouldn't recognize the function!
To test my fucntion I placed it in functions.lua file of rom-bot and voila it works!
Why can't I use the userfunctions dir?
EDIT: Here look at the file if you want to.
I made a function to check if a certain food buff was "on" and if it wasn't to eat the food!
But when I created a function file "name.lua" and placed it under userfunctions dir the bot wouldn't recognize the function!
To test my fucntion I placed it in functions.lua file of rom-bot and voila it works!
Why can't I use the userfunctions dir?
EDIT: Here look at the file if you want to.
Code: Select all
Usage: useFood(food[,buff]);