All pastes #525805 Raw Edit

James / Chr's Alias

public text v1 · immutable
#525805 ·published 2007-05-31 14:56 UTC
rendered paste body
Alias chr's {
  if ($remove($1-,-) !isnum) echo -at You can only have numbers...
  else {
    var %i = $iif(*?-?* iswm $1,$calc($gettok($1,1,$asc(-)) - 1),0)
    write Chr's.html <html><Title>mIRC Chr's $iif(*?-?* iswm $1,Between $&
      $gettok($1,1,$asc(-)) and $gettok($1,2-,$asc(-)),to $1)</Title> <br> <h1>The Chrs...</h1>
    while (%i < $iif(*?-?* iswm $1,$gettok($1,2-,$asc(-)),$1)) {
      inc %i
      write Chr's.html $+(%i,.) $chr(%i) <br>
    }
    run Chr's.html
    .timer 1 2 .remove Chr's.html 
  }
}