There are no problems with the [ touching the variable. It was just when pasting it into the text here that it somehow got formatted incorrectly. I'll paste it again for you to see.

1) `noop $noticias.on.text.timer(noticiaspegatab,%npt.Channel [ $+ [ %nptrd ] ],$null,%vi [ $+ [ %nptrd ] ],$null,1,%ChannelSuf [ $+ [ %nptrd ] ])`

2) `scon -a if ($server) && (!$istok($noticias.getNetWorkChannel( %npt.Channel [ $+ [ %nptrd ] ] ),$network,32)) && ($me ison %npt.cf [ $+ [ %nptrd ] ] ) $noticias.send.msg.tip %npt.cf [ $+ [ %nptrd ] ] %vi [ $+ [ %nptrd ] ]`

And below is the alias used to create a sequential timer to avoid flooding:

`alias` news.on.text.timer {
; $1 network - $2 channel - $3 nick - $4 msg - $5 delay - $6 1ou0 cod=Msg - $7 channelSconmsg2 suffix - $8 verText
noticias.hdelfree $noticias.on.text.timer.tab $noticias.tab.size n
var %s1 $1, %s2 $2, %s3 $3, %s4 $4, %delay $iif($5,$5,$noticias.on.text.timer.delay), %s6 $6, %s7 $7, %s8 $iif($8,$8,0)
var %pref, %prefINC, %dc, %tn, %u, %cod
if (%s6) {
%pref = all
%cod = %s4
}
else {
%pref = $+(%s1,%s2,%s3)
%cod = $+(%s1,%s2,%s3,%s4)
}
if (%pref) %pref = $encode(%pref,m)
%prefINC = $+(%pref,nottINC)
%dc = $noticias.on.text.timer.tab.get(%prefINC)
if (!%dc) %dc = %delay
else %dc = $calc(%delay + $noticias.on.text.timer.tab.get(%prefINC,u))
%tn = $+(%pref,.,$iif(!%s8,%dc,0))
if ($noticias.on.text.timer.tab.get(%tn) != %s4) {
%cod = $encode($+(%cod,$iif(!%s8,%dc)),m)
if (!$timer($+(NoticiasText.,%cod))) {
%u = $+(-u,%dc)
hadd $noticias.on.text.timer.tab %tn ​​%s4
$+(.timer,NoticiasText.,%cod) -o 1 %dc $&
noop $sbtok(44,noticias.scon.msg2,$null,%s2,$sbtok(44,noticias.on.text.timer.tab.get,$null,%tn),$null,%s7) $&
$chr(124) hdel $noticias.on.text.timer.tab %tn
hadd %u $noticias.on.text.timer.tab %prefINC %dc

}

}

This alias only creates a sequential timer for each message; other aliases called within it only create hashes and pass simple values. It's in this alias that mIRC gets lost. I use it in several other places and it works normally, but in the timer call that retrieves the SQLite information, it somehow gets lost and picks up other values ​​as an overwrite.

The alias noticias.scon.msg2 does exactly what 2) does; I just removed the layers of aliases being called and took the last level to avoid this problem, and it worked. I don't know why this happens.

alias noticias.scon.msg2 {
; $1 channel, $2 msg, $3 text complement, $4 channel.suffix
if ($2) {
var %nsm2.canal $1, %s2 $2, %s3 $3, %s4 $4, %nsm2.cf
%nsm2.cf = $iif($chr(35) !isin %nsm2.canal,$+($chr(35),%nsm2.canal),%nsm2.canal)
; Do not remove the spaces below to get the value

scon -a if ($server) && (!$istok($noticias.getCanalRedes( %nsm2.canal ),$network,32)) && ($me ison %nsm2.cf ) $noticias.send.msg.tipo %nsm2.cf %s2
}

NOTE: If there is removal of spaces between the variable and the [, it's something here in the forum's text editor.