how can i make 1234 to 1000, or 1523 to 2000
//echo -a $calc($round($calc(1234 / $+(1,$str(0,$calc($len(%nr)-1)))),0) * $+(1,$str(0,$calc($len(1234)-1))))
Code
on *:text:*:*:{
set %counter 1
while %counter <= $0 {
set %counter2 1
while %counter2 <= $gettok(%words,0,44) {
if ($($+($,%counter),2) == $gettok(%words,%counter2,44)) {
msg $chan ....
return
}
inc %counter2
}
inc %counter
}
unset %counter
unset %counter2
}
set %counter001 1
while (%counter001 <= $lines(file.txt)) {
msg $read(file.txt,%counter001) Text to send
inc %counter001
}