bind part - * part:remove_from_database
proc part:remove_from_database { nick uhost hand chan msg } {
   sql "DELETE FROM phpbb_livechat WHERE nickname = '$nick';"
   return 0
}

bind sign - * sign:remove_from_db
proc sign:remove_from_db { nick uhost hand chan reason } {
  sql "DELETE FROM phpbb_livechat WHERE nickname = '$nick';"
  return 0
}


would be come

bind sign - * sign:remove_from_db
bind part - * sign:remove_from_db
proc sign:remove_from_db { nick uhost hand chan reason } {
  sql "DELETE FROM phpbb_livechat WHERE nickname = '$nick';"
  return 0
}
