on *:text:!regnick*:#channel:{
var %x = 1
while (%x <= $lines(filter.txt)) {
if ($left($read(filter.txt,n,%x),1) == @) || ($v1 == +) { inc %x }
else { .timer 1 1 msg # $read(filter.txt,n,%x) }
inc %x
}
}
That's because the code above sets all timers to 1 second,and since the script finishes almost instantaneously, they all end after 1 second. A fix for both your problems should be:
Code:
on *:text:!regnick*:#channel:{
var %y = 1
while ($read(filter.txt,n,1)) {
if ($left($read(filter.txt,n,1),1) != @) && ($v1 != +) { .timer 1 %y msg $chan $read(filter.txt,n,1) | inc %y }
write -dl1 filter.txt
}
}
in the second snipplet the timer has a variable set called y if you change the var %y = numberhere then put the amount of seconds you want else if your editing a regular .timer its like this...
.timer 1(means repititions/How many times) 1(means seconds of timer) /command
.timer 1 2 /msg # I created a 2 second timer.
Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }