General logs: Katran's Fnargh Window Script for zMUD
Log | Contributor | Uploaded on | Views |
---|---|---|---|
Katran's Fnargh Window Script for zMUD | Katran | 2011-04-28 03:33 am | 2427 |
Create a class with these settings in your main MUD window. |
#CLASS {Fnargh} {disable}
#TRIGGER {You stop using {the|an ethereal} game of Fnargh.$} {#T- Fnargh}
#TRIGGER {%e[1;37mYou shake {the|an ethereal} game of Fnargh, and the {%e[0m%e[1;37m|}five {%e[0m%e[1;37m|}dice {%e[0m%e[1;37m|}land {%e[0m%e[1;37m|}%d, {%e[0m%e[1;37m|}%d, {%e[0m%e[1;37m|}%d, {%e[0m%e[1;37m|}%d, {%e[0m%e[1;37m|}%d.%e[0m$} {
#CAP Fnargh
#GAG
} "" {case|color}
#TRIGGER {You reroll the %d*, ending up with %d, %d, %d, %d, %d.$} {
#CAP Fnargh
#GAG
} "" {case}
#TRIGGER {^%e[1;32mUse dice what~? 'use dice roll', 'use dice ~<combination~>', {%e[0m%e[1;32m|}'use {%e[0m%e[1;32m|}dice {%e[0m%e[1;32m|}categories', {%e[0m%e[1;32m|}'use {%e[0m%e[1;32m|}dice {%e[0m%e[1;32m|}restart'~?%e[0m$} {#GAG} "" {case|color}
#TRIGGER {{%e[1;37m|}You get %d points for the category.{%e[0m|}$} {
#CAP Fnargh
#GAG
} "" {case|color}
#TRIGGER {You must roll the dice again, first.$} {
#CAP Fnargh
#GAG
} "" {case|color}
#TRIGGER {You already rolled a %d, %d, %d, %d, %d.$} {
#CAP Fnargh
#GAG
} "" {case|color}
#TRIGGER {%e[1;32mYou wipe your scorecard clean, and start the game over(.)%e[0m$} {#CAP Fnargh} "" {case|color}
#TRIGGER {%e[1;31mReroll which dice~? You have %d, %d, %d, %d, %d.%e[0m$} {
#CAP Fnargh
#GAG
} "" {case|color}
#TRIGGER {%e[1;31mYou have to roll the dice, first.%e[0m$} {
#CAP Fnargh
#GAG
} "" {case|color}
#TRIGGER {{To roll the dice, 'use fnargh roll'.|To see the categories available, 'look categoriesfnargh'.|To see the rules, 'look rulesfnargh'.}$} {#GAG} "" {case}
#TRIGGER {Show whom~? 'use fnargh score self', or 'use fnargh score room'~?$} {
#CAP Fnargh
#GAG
} "" {case|color}
#TRIGGER {%e[1;31mYou've already rolled 3 times, you need to categorize the dice.%e[0m$} {
#CAP Fnargh
#GAG
} "" {case|color}
#TRIGGER {%e[1;31m{Ones have|Twos have|Threes have|Fours have|Fives have|Sixes have|3ofakind has|4ofakind has|Fullhouse has|Smallstraight has|Largestraight has|Fnargh has|Chance has} already been scored, you got %d points for it!%e[0m$} {
#CAP Fnargh
#GAG
} "" {case|color}
#TRIGGER {^What category would you like to make this roll be~?{| | }$} {#GAG} "" {case|color}
#TRIGGER {^%e[1;32mYou have scored less than 63 in the UPPER section, gaining 0 bonus points.%e[0m$} {
#CAP Fnargh
#GAG
} "" {case|color}
#TRIGGER {^%e[1;32mYou have scored 63 or more points in the UPPER section, gaining 35 bonus points!%e[0m$} {
#CAP Fnargh
#GAG
} "" {case|color}
#TRIGGER {%e[1;31mYou do not have a Fnargh ~[5 of a kind~], therefore you cannot score a BonusFnargh.%e[0m$} {
#CAP Fnargh
#GAG
} "" {case|color}
#TRIGGER {%e[1;31mYou have scored the highest score this game of Fnargh has ever seen!%e[0m$} {#CAP Fnargh} "" {case|color}
#TRIGGER {^*%d%e[1;34mst~>%e[0m %e[53muse fnargh {^score|highscore|restart|quiet}*%e[0m$} {
#GAG -1
#GAG
} "" {case|color}
#TRIGGER {%e[1;31mYou cannot score in the BonusFnargh category unless you have scored a Fnargh.%e[0m$} {
#CAP Fnargh
#GAG
} "" {case|color}
#TRIGGER {%e[1;32mYou {look at your scorecard|reveal your scorecard to everyone}:%e[0m$^%e[1;36m -------- UPPER ------- %e[0m$^%e[1;36m Ones....~(sum of 1s~)..%e[1;37m{__|0|1|2|3|4|5}%e[0m$^%e[1;36m Twos....~(sum of 2s~)..%e[1;37m{__|0|2|4|6|8|10}%e[0m$^%e[1;36m Threes..~(sum of 3s~)..%e[1;37m{__|0|3|6|9|12|15}%e[0m$^%e[1;36m Fours...~(sum of 4s~)..%e[1;37m{__|0|4|8|12|16|20}%e[0m$^%e[1;36m Fives...~(sum of 5s~)..%e[1;37m{__|0|5|10|15|20|25}%e[0m$^%e[1;36m Sixes...~(sum of 6s~)..%e[1;37m{__|0|6|12|18|24|30}%e[0m$^%e[1;31m UPPER Total..........%e[1;37m%d%e[0m$^%e[1;36m UPPER Bonus..........%e[1;37m{__|0|35}%e[0m$^%e[1;31m UPPER Final..........%e[1;37m%d%e[0m$$^%e[1;36m ------- LOWER ------- %e[0m$^%e[1;36m 3ofakind......~(sum~)..%e[1;37m*%e[0m$^%e[1;36m 4ofakind......~(sum~)..%e[1;37m*%e[0m$^%e[1;36m Fullhouse......~(25~)..%e[1;37m{__|0|25}%e[0m$^%e[1;36m Smallstraight..~(30~)..%e[1;37m{__|0|30}%e[0m$^%e[1;36m Largestraight..~(40~)..%e[1;37m{__|0|40}%e[0m$^%e[1;36m Fnargh.........~(50~)..%e[1;37m{__|0|50}%e[0m$^%e[1;36m Chance........~(sum~)..%e[1;37m*%e[0m$^%e[1;36m BonusFnargh...~(100~)..%e[1;37m%d%e[0m$^%e[1;31m UPPER Final..........%e[1;37m%d%e[0m$^%e[1;31m LOWER Final..........%e[1;37m%d%e[0m$^%e[1;31m TOTAL................%e[1;37m%d%e[0m$} {
#CAP 24 Fnargh
#GAG -22
#GAG
} "" {case|color}
#TRIGGER {%e[1;31mYou scored 0 in the Fnargh category already, so you cannot score any BonusFnargh points.%e[0m$} {
#CAP Fnargh
#GAG
} "" {case|color}
#TRIGGER {%e[1;31mAll possible BonusFnargh points have already been scored, you lucky bastard!%e[0m} {
#CAP Fnargh
#GAG
} "" {case|color}
#TRIGGER {^%e[1;31mYour current score qualifies you for the high score on this game of Fnargh; just finish %e[0m%e[1;31mthe game, and view your score!%e[0m$} {
#CAP Fnargh
#GAG
} "" {case|color}
#TRIGGER {^To view each high score board, USE FNARGH ~<type~>, where type is alltime, yearly, or monthly.$} {#GAG}
#TRIGGER {^To view the the list of rewards granted to you and by this game of Fnargh, USE FNARGH HIGHSCORES REWARDS.$} {#GAG}
#TRIGGER {^Your current score has already beaten your personal best; just finish the game, and view your score!$} {
#CAP Fnargh
#GAG
}
#TRIGGER {^You are now ranked %d{st|nd|rd|th} among the yearly high scores!$} {#CAP Fnargh}
#TRIGGER {^You are now ranked %d{st|nd|rd|th} among the monthly high scores!$} {#CAP Fnargh}
#TRIGGER {^Your personal best is %d.$You are * the all time high scores.$You are * the yearly high scores.$You are * the monthly high scores.$} {#CAP 4 Fnargh}
#TRIGGER {^The Powers take pity on you and restore your soul to your body.$} {#T- Fnargh}
#CLASS 0
#TRIGGER {You stop using {the|an ethereal} game of Fnargh.$} {#T- Fnargh}
#TRIGGER {%e[1;37mYou shake {the|an ethereal} game of Fnargh, and the {%e[0m%e[1;37m|}five {%e[0m%e[1;37m|}dice {%e[0m%e[1;37m|}land {%e[0m%e[1;37m|}%d, {%e[0m%e[1;37m|}%d, {%e[0m%e[1;37m|}%d, {%e[0m%e[1;37m|}%d, {%e[0m%e[1;37m|}%d.%e[0m$} {
#CAP Fnargh
#GAG
} "" {case|color}
#TRIGGER {You reroll the %d*, ending up with %d, %d, %d, %d, %d.$} {
#CAP Fnargh
#GAG
} "" {case}
#TRIGGER {^%e[1;32mUse dice what~? 'use dice roll', 'use dice ~<combination~>', {%e[0m%e[1;32m|}'use {%e[0m%e[1;32m|}dice {%e[0m%e[1;32m|}categories', {%e[0m%e[1;32m|}'use {%e[0m%e[1;32m|}dice {%e[0m%e[1;32m|}restart'~?%e[0m$} {#GAG} "" {case|color}
#TRIGGER {{%e[1;37m|}You get %d points for the category.{%e[0m|}$} {
#CAP Fnargh
#GAG
} "" {case|color}
#TRIGGER {You must roll the dice again, first.$} {
#CAP Fnargh
#GAG
} "" {case|color}
#TRIGGER {You already rolled a %d, %d, %d, %d, %d.$} {
#CAP Fnargh
#GAG
} "" {case|color}
#TRIGGER {%e[1;32mYou wipe your scorecard clean, and start the game over(.)%e[0m$} {#CAP Fnargh} "" {case|color}
#TRIGGER {%e[1;31mReroll which dice~? You have %d, %d, %d, %d, %d.%e[0m$} {
#CAP Fnargh
#GAG
} "" {case|color}
#TRIGGER {%e[1;31mYou have to roll the dice, first.%e[0m$} {
#CAP Fnargh
#GAG
} "" {case|color}
#TRIGGER {{To roll the dice, 'use fnargh roll'.|To see the categories available, 'look categoriesfnargh'.|To see the rules, 'look rulesfnargh'.}$} {#GAG} "" {case}
#TRIGGER {Show whom~? 'use fnargh score self', or 'use fnargh score room'~?$} {
#CAP Fnargh
#GAG
} "" {case|color}
#TRIGGER {%e[1;31mYou've already rolled 3 times, you need to categorize the dice.%e[0m$} {
#CAP Fnargh
#GAG
} "" {case|color}
#TRIGGER {%e[1;31m{Ones have|Twos have|Threes have|Fours have|Fives have|Sixes have|3ofakind has|4ofakind has|Fullhouse has|Smallstraight has|Largestraight has|Fnargh has|Chance has} already been scored, you got %d points for it!%e[0m$} {
#CAP Fnargh
#GAG
} "" {case|color}
#TRIGGER {^What category would you like to make this roll be~?{| | }$} {#GAG} "" {case|color}
#TRIGGER {^%e[1;32mYou have scored less than 63 in the UPPER section, gaining 0 bonus points.%e[0m$} {
#CAP Fnargh
#GAG
} "" {case|color}
#TRIGGER {^%e[1;32mYou have scored 63 or more points in the UPPER section, gaining 35 bonus points!%e[0m$} {
#CAP Fnargh
#GAG
} "" {case|color}
#TRIGGER {%e[1;31mYou do not have a Fnargh ~[5 of a kind~], therefore you cannot score a BonusFnargh.%e[0m$} {
#CAP Fnargh
#GAG
} "" {case|color}
#TRIGGER {%e[1;31mYou have scored the highest score this game of Fnargh has ever seen!%e[0m$} {#CAP Fnargh} "" {case|color}
#TRIGGER {^*%d%e[1;34mst~>%e[0m %e[53muse fnargh {^score|highscore|restart|quiet}*%e[0m$} {
#GAG -1
#GAG
} "" {case|color}
#TRIGGER {%e[1;31mYou cannot score in the BonusFnargh category unless you have scored a Fnargh.%e[0m$} {
#CAP Fnargh
#GAG
} "" {case|color}
#TRIGGER {%e[1;32mYou {look at your scorecard|reveal your scorecard to everyone}:%e[0m$^%e[1;36m -------- UPPER ------- %e[0m$^%e[1;36m Ones....~(sum of 1s~)..%e[1;37m{__|0|1|2|3|4|5}%e[0m$^%e[1;36m Twos....~(sum of 2s~)..%e[1;37m{__|0|2|4|6|8|10}%e[0m$^%e[1;36m Threes..~(sum of 3s~)..%e[1;37m{__|0|3|6|9|12|15}%e[0m$^%e[1;36m Fours...~(sum of 4s~)..%e[1;37m{__|0|4|8|12|16|20}%e[0m$^%e[1;36m Fives...~(sum of 5s~)..%e[1;37m{__|0|5|10|15|20|25}%e[0m$^%e[1;36m Sixes...~(sum of 6s~)..%e[1;37m{__|0|6|12|18|24|30}%e[0m$^%e[1;31m UPPER Total..........%e[1;37m%d%e[0m$^%e[1;36m UPPER Bonus..........%e[1;37m{__|0|35}%e[0m$^%e[1;31m UPPER Final..........%e[1;37m%d%e[0m$$^%e[1;36m ------- LOWER ------- %e[0m$^%e[1;36m 3ofakind......~(sum~)..%e[1;37m*%e[0m$^%e[1;36m 4ofakind......~(sum~)..%e[1;37m*%e[0m$^%e[1;36m Fullhouse......~(25~)..%e[1;37m{__|0|25}%e[0m$^%e[1;36m Smallstraight..~(30~)..%e[1;37m{__|0|30}%e[0m$^%e[1;36m Largestraight..~(40~)..%e[1;37m{__|0|40}%e[0m$^%e[1;36m Fnargh.........~(50~)..%e[1;37m{__|0|50}%e[0m$^%e[1;36m Chance........~(sum~)..%e[1;37m*%e[0m$^%e[1;36m BonusFnargh...~(100~)..%e[1;37m%d%e[0m$^%e[1;31m UPPER Final..........%e[1;37m%d%e[0m$^%e[1;31m LOWER Final..........%e[1;37m%d%e[0m$^%e[1;31m TOTAL................%e[1;37m%d%e[0m$} {
#CAP 24 Fnargh
#GAG -22
#GAG
} "" {case|color}
#TRIGGER {%e[1;31mYou scored 0 in the Fnargh category already, so you cannot score any BonusFnargh points.%e[0m$} {
#CAP Fnargh
#GAG
} "" {case|color}
#TRIGGER {%e[1;31mAll possible BonusFnargh points have already been scored, you lucky bastard!%e[0m} {
#CAP Fnargh
#GAG
} "" {case|color}
#TRIGGER {^%e[1;31mYour current score qualifies you for the high score on this game of Fnargh; just finish %e[0m%e[1;31mthe game, and view your score!%e[0m$} {
#CAP Fnargh
#GAG
} "" {case|color}
#TRIGGER {^To view each high score board, USE FNARGH ~<type~>, where type is alltime, yearly, or monthly.$} {#GAG}
#TRIGGER {^To view the the list of rewards granted to you and by this game of Fnargh, USE FNARGH HIGHSCORES REWARDS.$} {#GAG}
#TRIGGER {^Your current score has already beaten your personal best; just finish the game, and view your score!$} {
#CAP Fnargh
#GAG
}
#TRIGGER {^You are now ranked %d{st|nd|rd|th} among the yearly high scores!$} {#CAP Fnargh}
#TRIGGER {^You are now ranked %d{st|nd|rd|th} among the monthly high scores!$} {#CAP Fnargh}
#TRIGGER {^Your personal best is %d.$You are * the all time high scores.$You are * the yearly high scores.$You are * the monthly high scores.$} {#CAP 4 Fnargh}
#TRIGGER {^The Powers take pity on you and restore your soul to your body.$} {#T- Fnargh}
#CLASS 0