this is my 1st tcl script so sorry if its a bit lame..
im trying to add lame things to my bot
to make it a bit more interactive i have started this script
which i want the bot to do but im having trouble with the utimer
well the part after the utimer to be exact
what i want it to do is this
if someone says !iamgod in channel
i want the bot to moderate the channel
and only give +v to the user that did !iamgod
then after 30 seconds i want the bot to -m the channel
and take away the +v on the user to make them -v
then i want the bot to ignore that user from doing the cmd again for like 30 minutes or so... so they cant do it constantly (abuse it)
the script runs fine to begin with it moderates the channel and gives the user +v the utimer starts but then i get a error after the timer is up
saying can't read "channel": no such variable
i havent started the ignore part yet but any help starting me off
in the right direction would be cool

i have looked around the forum and done some reading but i cant seem to find anything that helps me.
here is my script

#Commands
bind pub - !iamgod pub_do_god
#----------------------------------------------------------------
#Make someone be a god
proc pub_do_god {nick host handle channel txt} {
if {![botisop $channel]} {
putserv "NOTICE $nick :I'm not op'd. I need to be op'd to do that."
return 1
}
putserv "PRIVMSG $channel :Watch out everyone! $nick has just decided that they will be playing god. So, heed the words of $nick !!!"
putquick "MODE $channel +m"
putquick "MODE $channel +v $nick"
utimer 30 {putquick "mode $channel -m"}
utimer 30 {putquick "mode $channel –v $nick"
utimer 30 {putquick "PRIVMSG $channel :Phew, You are no longer a god $nick"}
utimer 30 {putquick "PRIVMSG $channel :Normal Channel Operation resumed"}
return 1
}
}
#end of pub_do_iamgod
putlog " iamgod Script by atomic Loaded"
thank you
Atomic