Year of the Dragon: Through May 28th, claim free Expansion Pack (excluding Vecna Unleashed) or a Greater Elixir of Discovery! Speak to Xatheral in the Hall of Heroes. edit

Thank you for your patience while we continue to upgrade DDOwiki to the latest MediaWiki LTS version. If you find any errors on the site, please visit the Discord chat server and let us know.

Game mechanicsNewbie guideIn developmentDDO StoreSocial Media


ChallengesClassesCollectablesCraftingEnhancementsEpic DestiniesFavorFeats

GlossaryItemsMapsMonstersPlacesQuestsRacesReincarnationSkillsSpells


Please create an account or log in to remove ads, build a reputation, and unlock more editing privileges and then visit DDO wiki's IRC Chat/Discord if you need any help!

User:Technical 13/SandBox/mIRC scripts/Shiny Game

From DDO wiki
Jump to navigation Jump to search

<css> div#contentSub2 span {

   display: inline;
   float: right;

</css>

⇑   ⇑   Back to top   ⇑   ⇑
General   Journal   Sand Box   To Do List   Characters   Quest List   Crafting   Talk  



 


;--- Shiny Game ---
on *:TEXT:!Shiny:# {
  if (%quote.flood == $null) {
    if (($chan == #DDOwiki) || ($chan == #DDOwikiDev)) {
      if (($nick isop $chan) || (($ltimer != 90) && ($nick ishop $chan))) {
        /notice $nick $me think you too powerful to play shiny game.  If you really want play, get rid of your (half-)op! :D
      }
      else {
        /set %ShinyRoll $rand(1,20)
        /notice $me $nick rolled a %ShinyRoll
        if (%Shiny == 1) {
          /notice $nick You rolled a 1! You have found a PURPLE CRYSTAL but it EXPLODED!
          /kick $chan $nick $nick looked for shiny and got caught in an exploding purple crystal blast! Sadly, $nick is the $ord(%ShinyKick) victim.
          inc %ShinyKick
        }
        if (%ShinyRoll == 2) {
          /notice $nick You rolled a 2! You have found a PURPLE CRYSTAL and you jump out of the way JUST IN TIME before it EXPLODES!
        }
        if (%ShinyRoll == 19) {
          /notice $nick You rolled a 19! You have found a GREEN CRYSTAL but it it is worthless to you since the order is for purples...
        }
        if ((%ShinyRoll > 2) && (%ShinyRoll < 19)) { /notice $nick No shiny this time, $me think you should try again! }
        if (%ShinyRoll == 20) {
          if (($nick isvoice $chan) && ($timer(1).secs < 600)) {
            inc %ShinyHop
            /notice $nick You rolled a perfect 20!  You have found another PURPLE CRYSTAL!
            /timer9? off
            /mode $chan +h $nick
            /mode $chan -v $nick
            /timer 1 120 /notice $me 3 minutes left on $nick $+ 's half-op.
            /timer 1 240 /notice $me 1 minute left on $nick $+ 's half-op.
            /timer 1 270 /notice $me 30 seconds left on $nick $+ 's half-op.
            /timer 1 285 /notice $me 15 seconds left on $nick $+ 's half-op.
            /timer 1 290 /notice $me 10 seconds left on $nick $+ 's half-op.
            /timer 1 295 /notice $me 5 seconds left on $nick $+ 's half-op.
            /timer 1 299 /notice $nick I hope it was fun while it lasted!
            /timer 1 300 /mode $chan -h $nick
          }
          else { 
            inc %ShinyVoice
            /notice $nick You rolled a perfect 20!  You have found a PURPLE CRYSTAL!
            /mode $chan +v $nick
            /timer98 1 300 /notice $me 5 minutes left on $nick $+ 's voice.
            /timer97 1 580 /notice $me 2 minutes left on $nick $+ 's voice.
            /timer96 1 540 /notice $me 1 minute left on $nick $+ 's voice.
            /timer95 1 570 /notice $me 30 seconds left on $nick $+ 's voice.
            /timer94 1 585 /notice $me 15 seconds left on $nick $+ 's voice.
            /timer93 1 590 /notice $me 10 seconds left on $nick $+ 's voice.
            /timer92 1 595 /notice $me 5 seconds left on $nick $+ 's voice.
            /timer90 1 599 /notice $nick I hope it was fun while it lasted!
            /timer91 1 600 /mode $chan -v $nick
          }
        }
        /unset %ShinyRoll
      }
    }
    else { /msg $chan There is no shiny here... Shiny can only be found on the #DDOwiki channels. }
  }
  set -u2 %quote.flood on
}