Let's say I can try to help you with triggers, but can't promise anything ^^ But please don't ask me about modules, can't understand them...
Sometimes the error in code is hard to detect, for example I fought over a stupid wc3 offset thing for few hours yesterday... But fortunately solved it at the end ^^