Well it's been a few years since I've done mSL. But there is no reason to go using a while loop when you can use $istok. Also, adding words are not really adding. It is more making it the ONLY work. let's see pink was a bad word, it would say %blacklist.pink.#chan Well, we want to add blue as a bad word as well. Instead of %blacklist.pink.blue.#chan, it would reaplce pink with blue. The best way to do this is to set %blacklist $instok(%blacklist,$3,-1,46). This adds it all the way to the right, right before channel name.