Maybe a late reply, but I was busy this year. Today I tried to make it from a TEXT to a INPUT script, but it doesn't work. What's wrong with:
on *:INPUT:!scripts:{
var %cnt = $script(0)
while (%cnt) {
var %scripts = $+ $rand(3,15) $nopath($script(%cnt)) %scripts
dec %cnt
halt
}
echo -a %scripts
halt
}
I added halt functions so my input wont be seen in a channel
<so it wont be posted in a channel>.I also tried this:
on *:INPUT:*:{
if $1 == !scripts {
var %cnt = $script(0)
while (%cnt) {
var %scripts = $+ $rand(3,15) $nopath($script(%cnt)) %scripts
dec %cnt
halt
}
echo -a %scripts
halt
}
}