proc pub:help {nick host handle chan text} {
  set noticeme [getset $handle noticeme]
  set count "15"
  if {$noticeme} { set method "NOTICE" } { set method "PRIVMSG" }
  if {$text == ""} {
    incr $count -1;puthelp "$method $nick :MarV's Help Interface (type .s to stop this help) ($count)"
    incr $count -1;puthelp "$method $nick :Available Commands: $::servicecmds ($count)"
    incr $count -1;puthelp "$method $nick :\002.chanlev <nick/#auth> \[+/-flags\]\002 - To add or change Flags of an User ($count)"
    incr $count -1;puthelp "$method $nick :\002.autoop \[on/off\]\002 - If turned on, everyone who joins gets op ($count)"
    incr $count -1;puthelp "$method $nick :\002.autovoice \[on/off\]\002 - If turned on, everyone who joins gets voice ($count)"
    incr $count -1;puthelp "$method $nick :\002.protection \[on/off\]\002 - Turns on the channel protection modul ($count)"
    incr $count -1;puthelp "$method $nick :\002.bitch \[on/off\]\002 - If turned on, no one is able to give op to sombody ($count)"
    incr $count -1;puthelp "$method $nick :\002.stats \[on/off\]\002 - The bot will generate channelstats, if turned on ($count)"
    incr $count -1;puthelp "$method $nick :\002.autolimit <#number> - Set the limit x higher then users on channel ($count)"
    incr $count -1;puthelp "$method $nick :\002.antispam \[on/off\]\002 - Activates a protection against spaming ($count)"
    incr $count -1;puthelp "$method $nick :\002.badword \[on/off\]\002 - Badword Modul, type .help badword for mor info ($count)"
    incr $count -1;puthelp "$method $nick :Available Flags: ($count)"
    incr $count -1;puthelp "$method $nick :n (owner), m (master), a (autoop), o (op), g (autovoice), v (voice), b (ban) ($count)"
    incr $count -1;puthelp "$method $nick :License Agreement: ($count)"
    incr $count -1;puthelp "$method $nick :This Channelservice Is Powered By #mRv. Copyright © 2004 By MarV, All Rights Reserved. ($count)"
  } else {
    switch [string tolower $text] {
      chanlev {
        puthelp "$method $nick :\002.chanlev <nick/#auth> \[+/-flags\]\002 - To get or change the access of a user"
      } autoop {
        puthelp "$method $nick :\002.autoop \[on/off\]\002 - If turned on, everyone who joins gets op"
      } autovoice {
        puthelp "$method $nick :\002.autovoice \[on/off\]\002 - If turned on, everyone who joins gets voice"
      } protection {
        puthelp "$method $nick :\002.protection \[on/off\]\002 - Turns on the channel protection modul"
      } bitch {
        puthelp "$method $nick :\002.bitch \[on/off\]\002 - If turned on, no one is able to give op to sombody"
      } stats {
        puthelp "$method $nick :\002.stats \[on/off\]\002 - The bot will generate channelstats, if turned on"
      } limit {
        puthelp "$method $nick :\002.limit <number> - Set the limit x higher then users on channel"
      } antispam {
        puthelp "$method $nick :\002.antispam \[on/off\]\002 - Activates a protection against spaming"
      } advertise {
        puthelp "$method $nick :\002.badword \[on/off\] \002 .+/-badword <#channel> <badword> \002 .listbadwords <#channel>"
      } flag -
      flags {
        puthelp "$method $nick :Available flags: n (owner), m (master), a (autoop), o (op), g (autovoice), v (voice), b (ban)"
      } default {
        puthelp "$method $nick :No help available"
      }
    }
  }
  return 1
}