load fbsql.so
bind pub - !addnews pub_addnews
proc pub_addnews {nick uhost hand chan arg} {
  sql connect localhost daftpunk "mypass" chan_news
  set sql [sql "INSERT INTO tbl_news (newspost , poster) VALUES ('$addnews' , '$nick')"]
  sql disconnect
}
