on *:input:#: {
if ( $inpaste ) {
var %cb0 = $cb(0)
if ( %cb0 >= 4 ) {
remove paste.tmp
var %i = 1
while ( %i <= %cb0 ) {
write paste.tmp $cb(%i)
inc %i
}
play paste.tmp 1500
halt
}
}
}
forgot halt and the <= operator should indeed be >=
try making one of your own if this doesn't still work...
edit: target of /play probably unnecessary so removed it, and it was also in wrong place...
Last edited by theRat; 18/08/04 11:12 PM.