/temp {
if ($1 == -f) {
if ($2 !isnum) { echo -a Please only enter numbers. }
echo -a $+($2,°C $+($chr(40),$calc($2 *9/5+32),°F),$chr(41))
halt
}
if ($1 == -c) {
if ($2 !isnum) { echo -a Please only enter numbers. }
echo -a $+($2,°F $+($chr(40),$calc(($2 -32)*5/9),°C),$chr(41))
halt
}
else {
echo -a 7-
echo -a 7SYNTAX: /temp -4fc 4Temp
echo -a Use -f to convert Celsius to Fahrenheit.
echo -a Use -c to convert Celsius to Fahrenheit.
echo -a 7Example: 4/temp -c 32 would display "32°F = 0°C"
}
}