This is because we forgot to add a line in the handler "ON INPUT" with the command ".msg" to send (in invisible mode) your own messages to the channel, since they are blocked by the command "haltdef", and are only displayed in the echo, which is visible only to you.

Try using this script code with changes and fixes:
Code
on ^*:TEXT:*:#: haltdef | msgtext $chan $nick $1-
on *:INPUT:#: if (/* !iswm $1) { haltdef | .msg $chan $1- | msgtext $chan $me $1- }

alias -l msgtext { echo $1 $msgtime $msgnick($2,$1) :15 $3- }
alias -l msgtime { return $+(94,$time(HH:nn:ss)) }
alias -l msgnick {
  if ($1 isop $2) { return $+(04,$1) }
  elseif ($1 ishop $2) { return $+(09,$1) }
  elseif ($1 isvoice $2) { return $+(00,$1) }
  else { return $+(07,$1) }
}


🌐 https://forum.epicnet.ru 📜 irc.epicnet.ru 6667 #Code | mIRC scripts, help, discuss, examples