All pastes #538110 Raw Edit

Something

public text v1 · immutable
·published 2007-06-04 23:14 UTC
rendered paste body
alias gas {
  if ($1 isnum 1-10) {
    var %bar = $str(I,$calc(2 * $1)), %dash = $str(-,$calc(20 - $len(%bar)))
    echo -a [Give-A-Shit-Meter] $+([04,%bar,,%dash,]) $+($chr(40),$1,0,$chr(37),$chr(41))
  }
  else echo -ag  $+ $color(info) $+ /gas - Invalid Number, valid numbers are whole numbers 1 through 10
}