Turn text into ascii
mIRC Code
+ 0 likes
Please Register to submit score.
| Average Score | 4.0 |
| Scores Submitted | 1 |
| Date Added | May 12, 2008 |
| Last Updated | May 12, 2008 |
| Tags | asc ascii chr |
|
|
Introduction
I use leet as an example and this is a result:
$+($chr(108),$chr(101),$chr(101),$chr(116))
This script might help scripters. :)
Ah and the usage is: $ascii(text)
mIRC Snippet:
Turn text into ascii
Posted on May 12, 2008 6:26 pm
Posted on May 12, 2008 6:26 pm
Pretty good, I made an alternative using binvars:
Also, a little pointer: $eval(<blah>,0) (in your script) can be $!<blah>. So: $eval($chr,0) can be $!chr and $eval($+,0) can be $!+.
Perhaps try adding a way to do the opposite and convert asc values to actual characters? As I did in mine.
| Code: |
| alias ascii { bset $iif(!$prop,-t) &ascii 1 $1- return $bvar(&ascii,1,$bvar(&ascii,0)) [ $+ [ $iif($prop,.text) ] ] } |
Also, a little pointer: $eval(<blah>,0) (in your script) can be $!<blah>. So: $eval($chr,0) can be $!chr and $eval($+,0) can be $!+.
Perhaps try adding a way to do the opposite and convert asc values to actual characters? As I did in mine.
mIRC Snippet:
Turn text into ascii
Posted on May 12, 2008 6:50 pm
Posted on May 12, 2008 6:50 pm
Yeah :) but atleast that\'s good for my use because it returns those ascii values like $+($chr(number),$chr(number)) :)




