Year of the Dragon: Through April 23rd, claim the adventure pack Slice of Life for free! Speak to Xatheral in the Hall of Heroes.
Game mechanics • Newbie guide • In development • DDO Store • Social Media
Challenges • Classes • Collectables • Crafting • Enhancements • Epic Destinies • Favor • Feats
Glossary • Items • Maps • Monsters • Places • Quests • Races • Reincarnation • Skills • Spells
Please create an account or log in to 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
< User:Technical 13 | SandBox | mIRC scripts
Jump to navigation
Jump to search
|
SandBox | mIRC scripts | Notepad++ UDLs | AutoHotKey |
---|
;--- 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
}