
I've the following script from this forum

Code: Select all
set chan1 "#chan1"
set chan2 "#chan2"
bind pubm - * my:echo
proc my:echo {n u h c t} {
global chan1 chan2
set chan1 [string tolower $chan1]
set c [string tolower $c]
set t [stripcodes abcgru $t]
if {$c == $chan1} {
putfast "PRIVMSG $chan2 $t"
}
}
to chan2. Many text is dupe.
Whant i need now:
Can someone help me to filter out dupe-text - preferable only within ~ 5 Minutes; so that everything that has been echoed in this time, will not be echo'd twice or more times ?

Hopefully somenone can help. Thx in advance!