alias -l autotext {
; you can add more text here, just insert with var %text.4 <your text here.>
; replace <number> on %text.<number> with line number, so on and so forth.
var %text.1 How are you?
var %text.2 Are you ok?
var %text.3 How is going?
; edit $rand(1,3) with total lines you have. if you have 4 lines then it would be $rand(1,4)
msg $1 %text. [ $+ [ $rand(1,3) ] ]
}
on *:text:!autotext *:#:{
if $nick !isop # { return }
if $2 == off && $timer($+(autotext.,#)) {
$+(.timerautotext.,#) off
msg # autotext was turn off.
}
if $2 == on && !$timer($+(autotext.,#)) {
$+(.timerautotext.,#) 0 60 autotext #
msg # autotext was turn on.
}
}