mIRC Code Snippets Tagged with math
(6)
This is just a simple calculator dialog. You need a mouse to use it. It doesn't need a specific mIRC version as far as I can tell. It SHOULD be easy to use. Hope it helps whoever tries it!
$powerof(N,I) Calculates N to the Power of I, can list also.
; $powerof(N,I) <-- Usage: Calculates N to the power of I
; Other use: $powerof(N,I).all <-- Calculates N to the power of I, but lists
Returns the Factors of N
Factors: Numbers which multiplied by another number go into the target.
e.g. 12 (1 x 12), (2 x 6), (3 x 4) = 12
1,12,2,6,3,4 are factors of 12
; Usage: $factors(N).P
;
The following is a rounding function for whole numbers, not decimals as $round() does.
; Usage: $roundint(Number).P <---- Returns Number rounded to the nearest prop
; 'P' above must be a multiple
I decided to make a very simple picwin involving the unit circle. This can be very useful if you are taking any form of geometry or trigonometry.
There are several bugs that are the fault of mIRC's
Ok this is extremely small, simple and easy to use script
All you do, is once inserted type !calc #$#
Replace the #s with numbers and the $ either / for divide, * for multiply, + for add or - for subtract
You



