This can be done through a separate alias, for example with the name "
rand_msg", which will be activated by a timer every
300 secs.
The body of this alias will contain a command for sending to the #channel a random message from your file.
Try using this script code:
alias timer_start { rand_msg | .timerRANDMSG 0 300 rand_msg }
alias timer_stop { .timerRANDMSG off }
alias -l rand_msg { msg #channel $read(addons\miefrasibot\frasibot.txt) }
Command to start the timer:
/timer_startCommand to stop the timer:
/timer_stopScreenshot with an example of sending a message every
10 secs:
![[Linked Image from i.ibb.co]](https://i.ibb.co/sRy3349/rand-mag.png)