The simplest thing - is to create your own identifier that will take a number and return it with the necessary commas.
I made it very simple, although it can probably be done in an even more tricky way.

So you can try using this script code:
Code
alias numsep {
  if ($len($1) == 4) return $+($mid($1,1,1),$chr(44),$mid($1,2,3))
  if ($len($1) == 5) return $+($mid($1,1,2),$chr(44),$mid($1,3,3))
  if ($len($1) == 6) return $+($mid($1,1,3),$chr(44),$mid($1,4,3))
  if ($len($1) == 7) return $+($mid($1,1,1),$chr(44),$mid($1,2,3),$chr(44),$mid($1,5,3))
  if ($len($1) == 8) return $+($mid($1,1,2),$chr(44),$mid($1,3,3),$chr(44),$mid($1,6,3))
  if ($len($1) == 9) return $+($mid($1,1,3),$chr(44),$mid($1,4,3),$chr(44),$mid($1,7,3))
  if ($len($1) == 10) return $+($mid($1,1,1),$chr(44),$mid($1,2,3),$chr(44),$mid($1,5,3),$chr(44),$mid($1,8,3))
  return $1
}

To test, enter this command: //echo -a $numsep(1000)


Test results:
Quote
100 = 100
1000 = 1,000
10000 = 10,000
100000 = 100,000
1000000 = 1,000,000
10000000 = 10,000,000
100000000 = 100,000,000
1000000000 = 1,000,000,000


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