There are a number of problems with this. For a start you're using an assignment operator (=) as a comparison operator.
What you should be doing is if(strPos(strLwr(%msg),"forget") >= 0) or something along those lines. You're also trying to use %message instead of %msg. You're missing a closing ' after the ] of the message and finally you're calling the Parent:: function twice in the entire routine (since %message = "forget" will always evaluate to 1).