StalkerScr|pT — File Browser

StalkerScrpTv1.0 / StalkerScrpTv1.0 / slots.mrc

slots.mrc — 3.38 KB — Download this file

#slot
on 1:text:!slot:%slot.chan: {
  if (%slot == on) {
    if ( %slot.winnings. [ $+ [ $nick ] ] == $null ) { 
      set %slot.winnings. [ $+ [ $nick ] ] 10
      .notice $nick 4No previous info found, you now have12 10 4starting creds - %version
    }
    if ( %slot.winnings. [ $+ [ $nick ] ] == 0) { .notice $nick 4Hey! Come back later when you got the dough to play - your funds are 12Zilch! | msg %slot.chan 12 $+ $nick 4Is All Outta Dough!! | .timer [ $+ [ $nick ] ] 1 30 unset %slot.winnings. [ $+ [ $nick ] ] | halt } 
    elseif ( %slot.winnings. [ $+ [ $nick ] ] == -1) { .notice $nick 4Hey! Come back later when you got the dough to play - your funds are 12Zilch! | msg %slot.chan 12 $+ $nick 4Is All Outta Dough!! | .timer [ $+ [ $nick ] ] 1 30 .unset %slot.winnings. [ $+ [ $nick ] ] | halt } 
    elseif ( %slot.winnings. [ $+ [ $nick ] ] == -2) { .notice $nick 4Hey! Come back later when you got the dough to play - your funds are 12Zilch! | msg %slot.chan 12 $+ $nick 4Is All Outta Dough!! | .timer [ $+ [ $nick ] ] 1 30 unset %slot.winnings. [ $+ [ $nick ] ] | halt } 
    else %slot.g = $rand(0,4)
    if (%slot.g == 0) { msg %slot.chan 12 $+ $nick 4Pulls the lever12 $read $mircdirGame\SlotsN.txt $+  ...4 Nothing!! 
      dec %slot.winnings. [ $+ [ $nick ] ] 1 
      if (%slot.winnings. [ $+ [ $nick ] ] == 0) { msg %slot.chan 12 $+ $nick 4Now Is12 Bankrupt!! 4They go 12Bye Byes }
      else  { msg %slot.chan 12 $+ $nick 4Loses12 1 4And Now Has12 %slot.winnings. [ $+ [ $nick ] ] 4Dollars!! }
    }
    if (%slot.g == 1) { msg %slot.chan 12 $+ $nick 4Pulls the lever 12MalFunction!!!
      dec %slot.winnings. [ $+ [ $nick ] ] 2 
      if (%slot.winnings. [ $+ [ $nick ] ] == 0) { msg %slot.chan 12 $+ $nick 4Now Is12 Bankrupt!! 4They go 12Bye Byes }
      elseif (%slot.winnings. [ $+ [ $nick ] ] == -1) { msg %slot.chan 12 $+ $nick 4Now Is12 Bankrupt!! 4They go 12Bye Byes }
      else { msg %slot.chan 12 $+ $nick 4Loses12 2 4And Now Has12 %slot.winnings. [ $+ [ $nick ] ] 4Dollars!! }
    }
    if (%slot.g == 2) { msg %slot.chan 12 $+ $nick 4Pulls the lever 12TILTED TILTED TILTED!!! 
      dec %slot.winnings. [ $+ [ $nick ] ] 3 
      if (%slot.winnings. [ $+ [ $nick ] ] == 0) { msg %slot.chan 12 $+ $nick 4Now Is12 Bankrupt!! 4They go 12Bye Byes }
      elseif (%slot.winnings. [ $+ [ $nick ] ] == -1) { msg %slot.chan 12 $+ $nick 4Now Is12 Bankrupt!! 4They go 12Bye Byes }
      elseif (%slot.winnings. [ $+ [ $nick ] ] == -2) { msg %slot.chan 12 $+ $nick 4Now Is12 Bankrupt!! 4They go 12Bye Byes }
      else { msg %slot.chan 12 $+ $nick 4Loses12 3 4And Now Has12 %slot.winnings. [ $+ [ $nick ] ] 4Dollars!! }
    }
    if (%slot.g == 3) { msg %slot.chan 12 $+ $nick 4Pulls the lever12 $read $mircdirGame\SlotsH.txt $+ !!! 
      inc %slot.winnings. [ $+ [ $nick ] ] 1
      msg %slot.chan 12 $+ $nick 4Gains12 1 4And Now Has12 %slot.winnings. [ $+ [ $nick ] ] 4Dollars!!
    }
    if (%slot.g == 4) { msg %slot.chan 12 $+ $nick 4Pulls the lever12 $read $mircdirgame\slotsj.txt $+ !!! 
      msg %slot.chan 12 $+ $nick 4Just Got A 125 Dollar 4JackPot!! 
      inc %slot.winnings. [ $+ [ $nick ] ] 5 
      msg %slot.chan 12 $+ $nick 4Now Has12 %slot.winnings. [ $+ [ $nick ] ] 4Dollars!!
    }
  }
}
#slot end