Firstly he/she wanted to say that am Brazilian I am writing through
translators;)
Good My problem is the following I am new in TCL
I am wanting to do the following function for TCL
That she catches a word it specifies of another channel I specify and write in another channel
Tie oh it is simple the problem that if the person repeats the same word I wanted
that the script didn't repeat her for a certain time the same command or it ignores himself for certain
time!
I will pass my first script.
Code: Select all
set canal1 "#UOplus"
set canal2 #EBclan"
bind pubm - *.am* pub_am
bind pubm - *.save* pub_save
proc pub_am {nick host handle channel arg} {
putserv "PRIVMSG #EBclan :.am"
return 1
}
proc pub_save {nick host handle channel arg} {
putserv "PRIVMSG #EBclan :.save"
return 1
}
putlog "TCL Captura \2AM - SAVE \2 Carregada..."
They will understand it is simple to catch a command of a channel and it orders for other and the principal not to let to repeat the same command for a certain time.
Muito Obrigado.
Thank you.