Hm, I seem to get no syntax errors but it does not seem to respond to the messages as i say them
You do not need to have two parents Whoa, that came out wrong. Fix: You do not need to have two Parent structures, or two Functions, in the package. Just multiple If structures. Also, the parent and function should be clientCmdChatMessage or whatever, not whatever you want.
package blah {
function clientCmdChatMessage(stuff) {
parent::blablabla;
if(%msg $= "Hi") {
event 1
}
if (%msg $= "Haider") {
event 2
}
}
};
activatePackage(blah);