.set %c1 4
.set %bg 8
then locally type this:
//echo %c1,%bgtest
hehehe
Indulge me and type this line in
/set %c1,%bgtest whopwhop!
then try
//echo %c1,%bgtest
result "whopwhop!"
Mirc is seeing that as one big variable name (i thought it would see it as %c1<comma>%bgtest and i was going to say theres no variable called %bgtest, but its just one big variable)
try this
//echo $+(%c1,$chr(44),%bg,test)
or
//echo %c1 $+ , $+ %bg $+ test
One thing here you should ALWAYS use 2 digit color codes 00-09,10-15, if you dont know what text well be following, assume my text was "1st place wins!" and it was ment to be in color 1 you end up with "11st place wins!" and you get "st place wins!" in color 11, took me ages to track that down in a script i wrote once