Whenever you have a timer or scid or /scon (and more) and unknown data, because of the double evaluation, you must use $unsafe to avoid
injectionsHere $chan could be used to evaluate identifiers via #$identifier.
on *:TEXT:*Hello*:#:{
if (!%no_reply1) {
.timerAUTOREPLY 1 $rand(2,5) msg $unsafe($chan $nick $+ $chr(44) Hi dude!)
set -u600 %no_reply1 $true
}
}