Top

$convert(). (temp/length/vol/weight/area)


mIRC Code
+ 0 likes
Please Register to submit score.
Average Score  3.0
Scores Submitted  1
Date Added  Jun 08, 2008
Last Updated  Jun 21, 2008
Tags  area  convert  custom  identifier  length  mirc  temperature  volume  weight 

Introduction

This script returns the conversion from one Temperature/Length/Volume/Weight/Area to another.

Usage:
$convert(Temp1,Temp2,Amount).temp << Converts Amount from Temp1 to Temp2
$convert(Length1,Length2,Amount).Length << Converts Length
$convert(Volume1,Volume2,Amount).Vol << Converts Volume
$convert(Weight1,Weight2,Amount).Weight << Converts Weights
$convert(Area1,Area2,Amount).Area << Converts Area

Available Options for:
Temperature:
Kel = Kelvin || C = Celcius/Centigrade || F = Farenheit
Length:
km = Kilometer || m = meter || cm = centimeter || mile = mile || yard = yard || ft = foot || in = inch
Volume:
l = Litre || m3 = Cubic Meter || cm3 = Cubic Centimeter || gal = Gallon || yd3 = Cubic Yard
Weight:
ton = tonne || kg = kilogram || g = gram || lb = pound || oz = ounce
Area:
A = Are || m2 = Square Meters || cm2 = square centimeters || acre = acre || yd2 = square yards || ft2 = Square Foot

Grab the Code

Comments

  (7)  RSS
BlueThen
Comments: 307
 
mIRC Snippet:  $convert(). (temp/length/vol/weight/area)
Posted on Jun 9, 2008 1:24 am
Where\'s the \"Length/Volume/Weight/Area\" part? This only converts temperatures.
vaseline28
Comments: 134
 
mIRC Snippet:  $convert(). (temp/length/vol/weight/area)
Posted on Jun 9, 2008 1:36 am
As I said in the introduction, not there yet, Imperial measurements are being a pain and holding me up. But they\'ll definitely be in there by this afternoon.
vaseline28
Comments: 134
 
mIRC Snippet:  $convert(). (temp/length/vol/weight/area)
Posted on Jun 9, 2008 1:26 pm
Update:

Now converts Length
Nomader
Comments: 5
 
mIRC Snippet:  $convert(). (temp/length/vol/weight/area)
Posted on Jun 9, 2008 2:20 pm
some errors in it... for example $convert(mile,ft,1).Length gives 2038.61877, not 5280 like it should
vaseline28
Comments: 134
 
mIRC Snippet:  $convert(). (temp/length/vol/weight/area)
Posted on Jun 10, 2008 11:27 am
Fixed, thanks. What were the other errors? I had a / instead of a * this time.
vaseline28
Comments: 134
 
mIRC Snippet:  $convert(). (temp/length/vol/weight/area)
Posted on Jun 10, 2008 11:42 am
Volume now added, usage:
$convert(Volume1,Volume2,Ammount).Vol
**
Weight Also:
$convert(Weight1,Weight2,Amount).Weight
vaseline28
Comments: 134
 
mIRC Snippet:  $convert(). (temp/length/vol/weight/area)
Posted on Jun 11, 2008 11:23 am
Area Added!

Please Register or Login to start posting comments.
Bottom