mIRC Homepage
Posted By: LO_KEY probability - 02/09/05 10:59 PM
Anyone got any ideas on how i could make a probability idenitifer...

i want to be able to set the probability a number/letter will be used for a script.
thanks in advance for any help.
Posted By: Karas Re: probability - 02/09/05 11:29 PM
That's mathematics *_*
Posted By: LO_KEY Re: probability - 02/09/05 11:56 PM
that it is.
Posted By: SladeKraven Re: probability - 03/09/05 01:05 AM
Have any examples of how you want this done, people usually don't look twice without examples of how you want these tasks laid out. smile

-Andy
Posted By: Darwin_Koala Re: probability - 03/09/05 04:25 AM
Quote:
Anyone got any ideas on how i could make a probability idenitifer...

i want to be able to set the probability a number/letter will be used for a script.
thanks in advance for any help.


At a rough guess:
Code:
alias probkey {
  var %num_letters = 26
  var %num_num = 10
  var %num_letterstates = 2
echo -a Probability that a particular letter or digit will be used next is 1 in $calc(%num_letterstates * %num_letters + %num_num)
}


Cheers,

DK
© mIRC Discussion Forums