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.
Returns the following error...
* /echo: insufficient parameters (line 181, ialias1.mrc)
Ideas?
Changing