mIRC Code Snippets Tagged with number
(19)
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
;
Two identifiers to tell you if a number is odd or even. Thought this up in maths today when the teacher was rambling on about some crap :-)
Anyways, more info on syntax is in the script itself, this
Usage: $ordtok(TOKEN,C,?)
Will return entered numbers as ords (1.4.2 = 1st.2nd.4th) and as you can see, will sort them in reverse or put them in order (if you used $ordtok(4.1,46,nr) - it would return
Usage: $asntok(TOKEN,N,?)
Will sort and insert needed numbers. For example, $asntok(4.1,46) would return 1.2.3.4 (if you used $asntok(4.1,46,nr) - it would return it in reverse)
This is an identifier than finds the average of a set of numbers.
Syntax: $avg(N.N.N.N,C)
N = numbers
. = delimeter
C = delimeter #
Ex:
$avg(1 5 2 1 6,32) » 3
$avg(2|4|6|8,124) » 5
$avg(1.1.1.1,46)
A nice Count Down script I made from scratch.
---------------------
CLIENT VERSION
It does what it's meant to do. You type in:
!countdown [month] [day] [hour] [name of occasion]
EX: !countdown
I need help with this script. Can somebody find the bug in here? It doesn't work at all yet.
Initialization: \game hilo #
-The first character is a backslash, not forward
-Replace # with the top number
/quicklog filters the active window into a text file. Thus, you can easily view events and messages in the channel through a window or notepad. You also have the option to locate a word.
/quicklog
; $getasc - Roy_
; Credits
; -------
; This snippet may appear similar to Lindrian's $asc_ snippet, part of the snippet actually does what Lindrian's snippet does.
; I give credit to Lindrian for the
This is the first piece of IRC code I've made without any help. It needs improvement (i.e. preventing somebody from jumping in at the last second to win), but I'm still just learning. If you have any ideas
a simple number guessing game
Just another useless little number game. Got bored, and had a bit of free-time...
I made it so the !rn function wouldn't work if the game wasn't active.
i was bored so i made a number guess game that tells you if the number is higher or lower. enjoy, comments appreciated.
Here is a SUPER SUPER SUPER (And 200 times more SUPER) easy number game script i made.. But it's fun :)
!guess <NUMBER> to guess
!numberstart to start the game
!numberstop to stop the game
Feel
This snippet allows you to find south park episodes through http://allabout-sp.net/ in flash videos
The format is !findsp <ep #> Ex:
<mountaindew> !findsp 802
* Terrance looks for