bind pubm -|- "% !desc Name" pubm:desc
set inuse 0
proc pubm:desc {nick host hand chan arg} {
global inuse
if { $inuse == 1 } {
putquick "PRIVMSG $chan :Sorry, !desc is currently in use, please wait 30 seconds and try again"
return
}
set inuse 1
putquick "PRIVMSG $chan :Desc of Name"
utimer 30 {set inuse 0}
}
But then when I make changes to the message and .rehash the eggdrop, somehow the utimer messes up and it causes both msgs to show when I try it. Also, I was trying it with multiple .tcl files so that it would respond differently to whatever is typed after !desc "!desc Name, !desc somethingelse, etc." and this problem came up with .TCL error about wrong # of args.