I need triggers for my module so that it checks the topic and reorganizes the binary tree (database) it manages. The problem i see is that eggdrop does not support threads or forks so that I can't spawn a thread to have it check the topic every hour or reorganize the tree every 4 hours.
Is there any method or function I can use or call to add triggers so that the bot automatically updates its database and checks the topic of the current channel? I've come a long way just by reading the modules of the eggdrop and trying out stuff, because there is simply no help anywhere and I can't find anything that I need for this problem...