mIRC Home    About    Download    Register    News    Help

Print Thread
mIRC & Hex Decimal #95527 25/08/04 02:34 PM
Joined: Jul 2004
Posts: 8
N
NoSupra Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
N
Joined: Jul 2004
Posts: 8
Does it exist an addon or a dll that let you use some hex in mIRC scripting? Thanks to all


Click here to enter my server site
Re: mIRC & Hex Decimal #95528 27/08/04 02:12 AM
Joined: Dec 2002
Posts: 1,922
O
Online Offline
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
Hexadecimal numbers cannot be used directly in scripting, but the $base() identifier can help you convert them into their decimal values.
  • $base(N,inbase,outbase,zeropad,precision)
    Converts number N from inbase to outbase. The last two parameters are optional.

    $base(15,10,16) returns F
    $base(F,16,10) returns 15