Imk0tter

Imk0tter

Joined
May 25, 2011

Activity Stream

Imk0tter created a mIRC Script  -  Jul 28, 2014
Imk0tter commented on a Page, Least Common Multiple  -  May 28, 2011

to enhance jaytea's post:

each work with a dynamic number of parameters

alias gcd {
  while $2 {
    while $2 {
      tokenize 32 $2 $calc($1 % $2) $3-
    }
    tokenize 32 $1 $3-
  }
  return $1
}
alias lcm {
  while $2 {
    tokenize 32 $calc($1 * $2 / $gcd($1, $2)) $3-
  }
  return $1
}
 Respond  
Imk0tter commented on a mIRC Script, Connect 4  -  May 26, 2011

seems like wims from swiftirc already has that covered ;)

http://forum.swiftirc.net/viewtopic.php?f=74&t=24548

 Respond  
Imk0tter created a mIRC Script  -  May 26, 2011
Imk0tter created a mIRC Script  -  May 26, 2011
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.