mIRC Code Snippets Tagged with numbers
(6)
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
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)
Well i was :|:| Bored |:|: So i made a dice game script.
Hey i got bored and made this i dont know why im bored but i am so it only has 4 or 5 popups on it so sorry.
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
This is a simple custom identifier where you enter two numbers and the asc value of a character to seperate them with and it gives you a list of numbers between the first two, sperated by the character