Advertisement
Guest User

Untitled

a guest
Mar 8th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.88 KB | None | 0 0
  1. alias lottowin {
  2.   var %x 1, %file $qt($+($mircdir,scripts/son/lotto.ini))
  3.   var %total, %ppl, %v1, %random
  4.   :start
  5.   while ($ini(%file,user,%x) && !%stop) {
  6.     if ($token($readini(%file,n,user,$ini(%file,user,%x)),1,58) >= $readini(%file,n,bet,bet)) {
  7.       var %total = $calc(%total + $readini(%file,n,bet,bet))
  8.       .writeini -n %file user $ini(%file,user,%x) $+($calc($token($readini(%file,n,user,$ini(%file,user,%x)),1,58) - $readini(%file,n,bet,bet)),:,$token($readini(%file,n,user,$ini(%file,user,%x)),2,58))
  9.       var %ppl = %ppl %x
  10.     }
  11.     inc %x
  12.   }
  13.   if (!%stop) { var %stop false }
  14.   var %random $token(%ppl,$r(1,$numtok(%ppl,32)),32)
  15.   if ($token($readini(%file,n,user,$ini(%file,user,%random)),2,58) == m) {
  16.     return $ini(%file,user,%random) %total
  17.   }
  18.   else {
  19.     if ($r(1,100) > 75) { goto start }
  20.     else { return $ini(%file,user,%random) %total }
  21.   }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement