mIRC Code Snippets Tagged with number
(32)
quite simple.
this snippet counts
number/letters that you type
to check ur stats
//echo -a %mIRCstats
or
//msg $active %mIRCstats
A pick a box and get points game that was created for a fellow forum user.
You pick a number and get points based on what is in the box.
Simple little snippet it just Numbers in an ini file And starts off ith the letter S.
I got bored today and made a flip clock style counter, I plan to make it a clock when I get the time to dink around with it more.
Paste into the remote, type /clock and watch in awe!
Left click -..
How to use : !RandNumber [Number]
Make sure you /set %chanset #[Channel]
An alias to show a random number between any two intergers of your choice.
Triggers:
/random <num1> <num2>
OR
/random
Once again, I\'m back with another custom identifier.
I wrote this just because I happened to need this a few times.
It doesn\'t do much, but what it does do, it does right. (confused yet? :_))...
I havent posted anything in a while, and I was thinking about prime numbers for some odd reason... So I decided to port the C/C++ primity function to mIRC.
You can find the original code here: http://docs.google.com/Doc?id=dgrmft6x_0htx3n3fh&hl=en
It..
These were a few identifiers I just came up with. Enjoy :-).
$avrg: Find the average of a given set of numbers (seperated by a space)
Usage: $avrg(Numbers)
Example: $avrg(10 2 5 3)
-> Returns..
This is a very simple custom identifier that I needed for something, maybe it's useful for you.
usage:
$numsuf(<number>)
returns the number you supplied, with a proper counting suffix. for..
Hello, a simple command that finds characters or checks if there are numbers in the text.
Put it in the Remotes section.
Syntax:
)) and it returns the character
-n : Enter some text and it returns..
!Ng-game - Start Game
!guess 1 - 100 - Play Game
!ad - Ad for the script
!Ngg-End - End Game
!a - Get The Answer send to you in PM {OWNER ONLY}
NOTE: Thanks to ICE and Relurk for helpin
This is a 'very simple' snippet that allows you to strip everything from a string, but the numbers.
Use: $filter_num(string)
For example: $filter_num(abc123kaljsdflkjdsfkljaslkjsda456lakjdflksadj7kalsdkoi8kljadsflkjdsa9)
Will..
This is a very simple Random number or text script.
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