Quote:
alias RndLine {
var %total = $findfile($qt($scriptdir\Text),*.txt,0)
return $read($qt($findfile($qt($scriptdir\Text),*.txt,$rand(1,%total))))
}

on *:connect: {
.timerRndLine 0 60 $!iif($!me ison #mychannel,msg #mychannel $RndLine)
}


Changing Texts to Text, and #mychannel to, uh.. my channel :d, produces no results, not even an error.

Quote:
//echo -a $RndLine


Returns the following error...
Quote:
* /echo: insufficient parameters (line 181, ialias1.mrc)


Ideas?

Changing