What if we try to solve it this problem way, separating 2 variables with a code for space $chr(32) or using $() - enclosing the variable between parentheses:

Code
//var %x = 1 , %y = Dec , %z = $chr(32) | echo -a $qt($+(%y,%z,%x))
//var %z = Dec , %x = 2 , %y = %z %x | echo -a $eval(%y,99)
//var %z = Dec , %x = 3 , %y = $+(%z,$chr(32),%x) | tokenize 32 %y | echo -a $1 $2
//var %a 123 | echo -ag $upper(set -s $(%a) 2 + 2)
//var %a 123 | echo -ag foo $upper(sockread 1234 $(%a)) bar
//var %day 31 | echo -a day = %day -> $+($chr(40),$ctime(Dec $(%day) 2021 00:00),$chr(41))

Return1: "Dec 1"
Return2: Dec 2
Return3: Dec 3
Return4: SET -S 123 2 + 2
Return5: foo SOCKREAD 1234 123 bar
Return6: day = 31 -> (1640898000)


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