I have help bot, so when user type !help bnc the bot will respon and display the help contents. !help command only for user who have +v
Is it any other option some how, after the bot displayed help contents the bot will devoice the user and if the user type !help command again before 5 minutes the bot will message the nick " you can only use help command every 5 minutes" and the bot ignore that nick for 5 minutes.
thanks
Edit: Split this reply from Tcl Faq to this topic due to irrelevance. (Sir_Fz)
proc help:user {nick uhost hand chan arg} {
if {![isvoice $nick $chan]} {return 0}
if {![throttled $uhost:$chan 300]} {
# You can help $nick now
pushmode $chan -v $nick
} {
puthelp "notice $nick :you can only use help command every 5 minutes"
}
}