Added by Mr. BS over 10 years ago
When writing msl scripts is very common you need to convert a char to ascii table code, easy way is to use $asc(<char>)<tab> in inputbox, but what about a fancy prompt for even easier conversion? Check example bellow.
<video controls>
<source src="http://1.grn.cc/temp/2014-03-14_23-29-05.mp4">
</video>
/alias /a editbox -a $+($,chr,$chr(40),$asc($iif($1,$1,$$?)),$chr(41))
/alias /a editbox -a $regsubex($iif($1,$1,$$?),/(.)/g,$ $+ chr $+ $chr(40) $+ $asc(\1) $+ $chr(41) $chr(32))
Improved by kikuchi.
sharing is caring.