This is what I did. But since I am adding using $addtok I believe thats causing the problem. Was trying to keep everything easy to find. I am still learning to use tokens and dont know how to remove using them. I have adding by $addtok down pretty good.
Code:
  if ($1 === !unshit) && ($me isowner $chan) {
    if ($2 ison $chan) { hdel shitlist $$ial($$2,1).addr }
    if ($2 !ison $chan) { hdel shitlist $2 }
  }

By the way this didn't work.

Last edited by Mail; 17/12/05 03:40 AM.