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 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 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/Ruletka
<css> div#contentSub2 span {
display: inline; float: right;
</css>
|
SandBox | mIRC scripts | Notepad++ UDLs | AutoHotKey |
---|
;--- Russian Roulette ---
on *:TEXT:!Ruletka:# {
if (%quote.flood == $null) {
if (%RR_PlayerList === 1, $nick) {
if (($nick isop $chan) || ($nick ishop $chan) || ($nick isvoice $chan)) {
/ame thinks $nick is lucky they have power...
}
else {
/notice $nick What are you trying to do? Commit suicide? Fine, wish granted, but don't waste $me $+ 's time!
/kick $chan $nick $nick commited suicide. Guess $nick didn't know it was dumb to play Russian Roulette alone.
}
/unset %RR_*
/timerRR? off
}
else {
if (%RR_PlayerList == $null) {
/set -u300 %RR_Cylinder $rand(1,6)
/set -u300 %RR_PlayCounter 1
/set -u300 %RR_PlayerList %RR_PlayCounter $+ $chr(44) $+ $chr(32) $+ $nick
/notice $me $nick rolled a %RR_Cylinder in !RR game.
}
else {
/inc -u300 %RR_Playcounter
/set -u300 %RR_PlayerList %RR_PlayerList $+ $chr(44) $+ $chr(32) $+ %RR_PlayCounter $+ $chr(44) $+ $chr(32) $+ $nick
}
if (%RR_PlayCounter == %RR_Cylinder) {
/ame says $nick played Russian Roulette and LOST!!!
if (($nick !isop $chan)) { /kick $chan $nick $nick played Russian Roulette and lost! }
/unset %RR_*
/timerRR? off
}
else {
/ame says $nick played Russian Roulette and is safe this time!
/timerRR1 1 299 /ame is not suprised no-one want to play silly suicidal game with $nick $+ .
/timerRR2 1 300 /notice $nick Sorry, no-one want to play silly suicidal game with you.
/timerRR3 1 301 /notice $me Russian Roulette variables cleared: Incomplete game.
}
}
}
/set -u2 %quote.flood on
}