ok i got a question which isnt discribed anywhere... you got the CMPSTART part: if (CMPSTART("<piece of the mess> ", msg)) that reads if the message starts with a certain part. is there also a tag for the end of the message or a part from the sentence. for instance if i say: Witchie NL> your mother is !@#$%^&*ing ugly you have something like: if (CMPPART("mother ", msg)) it reply's with: yeah your mother is that to!