/charmap - Character Map Alias

By vSkyzv on Nov 10, 2008

Update: You now only have to type "/charmap". It will display the first 255 characters. The reason why you can't display more characters is because the characters beyond 255 are exact repeats and therefore inaccurate.

Note: The variables have been changed from global to local. This way, no "/unset" commands are needed.

alias charmap {
  var %loop = 255, %num = 0
  while (%loop > 0) {
    inc %num
    echo -a %num -> $chr(%num)
    dec %loop
  }
}

Comments

Sign in to comment.
guest598594   -  Nov 10, 2008

Use /var instead of /set so they're local variables and you won't need to /unset them.

 Respond  
napa182   -  Nov 10, 2008

um one thing is you should only have it show from $chr(1) - $chr(256) cuz anything after it repeats it's self and you will get the wrong chr number.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.