Admin/mod comment
Tibia is a Lua script so this goes to the scripting section /DC 3 Easy steps to make all these work!
1. Look around in forum before you making a new thread!
2. Go to lua section and search for it. (There is 1)
3. And don't make thread before you do the 2 other steps. First off all... NOBODY will ever help you with your script IF you don't show us the script and you could find your OWN solution by using the search function. But maybe some fewest people will help you adding the function, JUST might I guess.