Read the following two sections of the Find the bug page:
http://www.kthx.net/ftb/#34http://www.kthx.net/ftb/#52Summary: your if syntax isn't right (/help /if) for multiple commands, you need brackets. also, you can only have one on text event for a specific level matching !part * in each script file.