Code: Select all
#CLASS {Clumsy}
#ALIAS helpClumsy {
#PRIORITY {
#SAY {%crlf "----Clumsy Help File----"}
#SAY {" [Updated: 7/13/2018]"}
#SHOW {" Script tracks individual character data across sessions, automatically adding character on connection."}
#SHOW {" Note: must use bas or bash, kic or kick in command line or zMUD alias."}
#SHOW {" WoTMUD alias will not activate bash or kick clumsy stats."}
#SHOW {""}
#SHOW {" Type showClumsy to toggle session message on/off for all characters."}
#SHOW {" Type showClumsyOT to toggle over time message on/off for current character."}
#SHOW {""}
#SHOW {" Type any of the following commands to show individual clumsy data: "}
#SHOW {" bashCount"}
#SHOW {" chargeCount"}
#SHOW {" clumsyCount"}
#SHOW {" kickCount"}
#SHOW {" stabCount"}
#SHOW {" throwCount"}
#SHOW {" throwCritCount."}
#SHOW {""}
#SHOW {" Type resetClumsy to reset data for current session only."}
#SHOW {" Type resetClumsyData to reset ALL data for current character."}
#SHOW {" Note: Shows date (month/day/year) since resetting data."}
#SHOW {""}
}
}
#ALIAS showClumsy {
#IF (@showClumsy=1) {#VAR showClumsy {0}} {#VAR showClumsy {1}}
#IF (@showClumsy=1) {#SAY {Clumsy session message is turned on.}} {#SAY {Clumsy session message is turned off.}}
}
#ALIAS showClumsyOT {
#IF (%eval(%concat("@show",%char,"OT"))) {#VAR %concat("show",%char,"OT") {0}} {#VAR %concat("show",%char,"OT") {1}}
#IF (%eval(%concat("@show",%char,"OT"))) {#SAY {Clumsy over time message for %char is turned on.}} {#SAY {Clumsy over time message for %char is turned off.}}
}
#ALIAS bashCount {
#SHOW {%crlf "Bash Data:"}
#IF (@clumsyTotalBash>0) {#SAY {This session you've landed @clumsyLandBash out of @clumsyTotalBash bashes (@{clumsyPercentageBash}~% landed)}} {#SAY {No current session data available...}}
#IF (@clumsyTotalBash>0) {#SAY {Since %eval(%concat("@",%char,"OT")) you've landed %eval(%concat("@clumsy",%char,"LandBash")) out of %eval(%concat("@clumsy",%char,"TotalBash")) bashes (%eval(%concat("@clumsy",%char,"PercentageBash"))~% landed)}} {#SAY {No over time data available...}}
}
#ALIAS chargeCount {
#SHOW {%crlf "Charge Data:"}
#IF (@clumsyTotalCharge>0) {#SAY {This session you've landed @clumsyLandCharge out of @clumsyTotalCharge charges (@{clumsyPercentageCharge}~% landed)}} {#SAY {No current session data available...}}
#IF (%eval(%concat("@clumsy",%char,"TotalCharge"))>0) {#SAY {Since %eval(%concat("@",%char,"OT")) you've landed %eval(%concat("@clumsy",%char,"LandCharge")) out of %eval(%concat("@clumsy",%char,"TotalCharge")) charges (%eval(%concat("@clumsy",%char,"PercentageCharge"))~% landed)}} {#SAY {No over time data available...}}
}
#ALIAS clumsyCount {
#SHOW {""}
bashCount
chargeCount
kickCount
stabCount
throwCount
throwCritCount
}
#ALIAS kickCount {
#SHOW {%crlf "Kick Data:"}
#IF (@clumsyTotalKick>0) {#SAY {This session you've landed @clumsyLandKick out of @clumsyTotalKick kicks (@{clumsyPercentageKick}~% landed)}} {#SAY {No current session data available...}}
#IF (%eval(%concat("@clumsy",%char,"TotalKick"))>0) {#SAY {Since %eval(%concat("@",%char,"OT")) you've landed %eval(%concat("@clumsy",%char,"LandKick")) out of %eval(%concat("@clumsy",%char,"TotalKick")) kicks (%eval(%concat("@clumsy",%char,"PercentageKick"))~% landed)}} {#SAY {No over time data available...}}
}
#ALIAS stabCount {
#SHOW {%crlf "Stab Data:"}
#IF (@clumsyTotalStab>0) {#SAY {This session you've landed @clumsyLandStab out of @clumsyTotalStab stabs (@{clumsyPercentageStab}~% landed)}} {#SAY {No current session data available...}}
#IF (%eval(%concat("@clumsy",%char,"TotalStab"))>0) {#SAY {Since %eval(%concat("@",%char,"OT")) you've landed %eval(%concat("@clumsy",%char,"LandStab")) out of %eval(%concat("@clumsy",%char,"TotalStab")) stabs (%eval(%concat("@clumsy",%char,"PercentageStab"))~% landed)}} {#SAY {No over time data available...}}
}
#ALIAS throwCount {
#SHOW {%crlf "Throw Data:"}
#IF (@clumsyTotalThrow>0) {#SAY {This session you've landed @clumsyLandThrow out of @clumsyTotalThrow throws (@{clumsyPercentageThrow}~% landed)}} {#SAY {No current session data available...}}
#IF (%eval(%concat("@clumsy",%char,"TotalThrow"))>0) {#SAY {Since %eval(%concat("@",%char,"OT")) you've landed %eval(%concat("@clumsy",%char,"LandThrow")) out of %eval(%concat("@clumsy",%char,"TotalThrow")) throws (%eval(%concat("@clumsy",%char,"PercentageThrow"))~% landed)}} {#SAY {No over time data available...}}
}
#ALIAS throwCritCount {
#SHOW {%crlf "Critical Throw Data:"}
#IF (@clumsyTotalThrow>0) {#SAY {This session you've landed @clumsyLandThrowCritical critical throws out of @clumsyLandThrow total landed throws (@{clumsyPercentageThrowCritical}~% crits landed)}} {#SAY {No current session data available...}}
#IF (%eval(%concat("@clumsy",%char,"LandThrow"))>0) {#SAY {Since %eval(%concat("@",%char,"OT")) you've landed %eval(%concat("@clumsy",%char,"LandThrowCritical")) criticals out of %eval(%concat("@clumsy",%char,"LandThrow")) total landed throws (%eval(%concat("@clumsy",%char,"PercentageThrowCritical"))~% crits landed)}} {#SAY {No over time data available...}}
}
#ALIAS clumsyThrowTriggers {
#IF (%1=on) {
#T+ clumsyThrowLand
#T+ clumsyThrowRip
#T+ clumsyThrowCrit
#T+ clumsyThrowDeflect
#T+ clumsyThrowMiss
} {}
#IF (%1=off) {
#T- clumsyThrowLand
#T- clumsyThrowRip
#T- clumsyThrowCrit
#T- clumsyThrowDeflect
#T- clumsyThrowMiss
} {}
}
#ALIAS clumsyKickTriggers {
#IF (%1=on) {
#T+ clumsyKickLand
#T+ clumsyKickHit
#T+ clumsyKickMile
#T+ clumsyKickMiss
} {}
#IF (%1=off) {
#T- clumsyKickLand
#T- clumsyKickHit
#T- clumsyKickMile
#T- clumsyKickMiss
} {}
}
#ALIAS clumsyBashTriggers {
#IF (%1=on) {
#T+ clumsyBashLand
#T+ clumsyBashTopple
} {}
#IF (%1=off) {
#T- clumsyBashLand
#T- clumsyBashTopple
} {}
}
#ALIAS resetClumsyData {
#RESET {Clumsy}
#VAR %concat("clumsy",%char,"LandBash") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("clumsy",%char,"LandCharge") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("clumsy",%char,"LandKick") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("clumsy",%char,"LandStab") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("clumsy",%char,"LandThrow") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("clumsy",%char,"LandThrowCritical") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("clumsy",%char,"MissBash") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("clumsy",%char,"MissCharge") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("clumsy",%char,"MissKick") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("clumsy",%char,"MissStab") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("clumsy",%char,"MissThrow") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("clumsy",%char,"PercentageBash") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("clumsy",%char,"PercentageCharge") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("clumsy",%char,"PercentageDisarm") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("clumsy",%char,"PercentageKick") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("clumsy",%char,"PercentageStab") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("clumsy",%char,"PercentageThrow") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("clumsy",%char,"PercentageThrowCritical") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("clumsy",%char,"RoundPercent") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("clumsy",%char,"RoundTotal") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("clumsy",%char,"TotalBash") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("clumsy",%char,"TotalCharge") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("clumsy",%char,"TotalKick") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("clumsy",%char,"TotalStab") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("clumsy",%char,"TotalThrow") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat(%char,"OT") {%time("m/d/20y")} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#SAY {Clumsy data for %char is now reset.}
}
#ALIAS resetClumsy {
#RESET {Clumsy}
}
#VAR clumsyLandBash {0} {0}
#VAR clumsyLandCharge {0} {0}
#VAR clumsyLandDisarm {0} {0}
#VAR clumsyLandKick {0} {0}
#VAR clumsyLandStab {0} {0}
#VAR clumsyLandThrow {0} {0}
#VAR clumsyLandThrowCritical {0} {0}
#VAR clumsyMissBash {0} {0}
#VAR clumsyMissCharge {0} {0}
#VAR clumsyMissKick {0} {0}
#VAR clumsyMissStab {0} {0}
#VAR clumsyMissThrow {0} {0}
#VAR clumsyPercentageBash {0} {0}
#VAR clumsyPercentageCharge {0} {0}
#VAR clumsyPercentageDisarm {0} {0}
#VAR clumsyPercentageKick {0} {0}
#VAR clumsyPercentageStab {0} {0}
#VAR clumsyPercentageThrow {0} {0}
#VAR clumsyPercentageThrowCritical {0} {0}
#VAR clumsyRoundDisarm {0} {0}
#VAR clumsyRoundPercent {0} {0}
#VAR clumsyRoundTotal {0} {0}
#VAR clumsyTotalBash {0} {0}
#VAR clumsyTotalCharge {0} {0}
#VAR clumsyTotalKick {0} {0}
#VAR clumsyTotalStab {0} {0}
#VAR clumsyTotalThrow {0} {0}
#VAR showClumsy {1}
#TRIGGER "clumsyBashLand" {^Your bash at * sprawling!$} {
clumsyBashTriggers off
#ADD clumsyLandBash 1
#ADD %concat("clumsy",%char,"LandBash") 1
#MATH clumsyTotalBash @clumsyLandBash+@clumsyMissBash
#MATH clumsyPercentageBash (@clumsyLandBash*100/@clumsyTotalBash)
#MATH %concat("clumsy",%char,"TotalBash") %eval(%concat("@clumsy",%char,"LandBash"))+%eval(%concat("@clumsy",%char,"MissBash"))
#MATH %concat("clumsy",%char,"PercentageBash") (%eval(%concat("@clumsy",%char,"LandBash"))*100/%eval(%concat("@clumsy",%char,"TotalBash")))
#IF (@showClumsy) {#SAY {This session you've landed @clumsyLandBash out of @clumsyTotalBash bashes (@{clumsyPercentageBash}~% landed)}} {}
#IF (%eval(%concat("@show",%char,"OT"))) {
#SAY {Since %eval(%concat("@",%char,"OT")) you've landed %eval(%concat("@clumsy",%char,"LandBash")) out of %eval(%concat("@clumsy",%char,"TotalBash")) bashes (%eval(%concat("@clumsy",%char,"PercentageBash"))~% landed)}
} {}
} "" {case|disable}
#TRIGGER "clumsyBashTopple" {^As * your bash, you topple over and fall to the ground!$} {
clumsyBashTriggers off
#ADD clumsyMissBash 1
#ADD %concat("clumsy",%char,"MissBash") 1
#MATH clumsyTotalBash @clumsyLandBash+@clumsyMissBash
#MATH clumsyPercentageBash (@clumsyLandBash*100/@clumsyTotalBash)
#MATH %concat("clumsy",%char,"TotalBash") %eval(%concat("@clumsy",%char,"LandBash"))+%eval(%concat("@clumsy",%char,"MissBash"))
#MATH %concat("clumsy",%char,"PercentageBash") (%eval(%concat("@clumsy",%char,"LandBash"))*100/%eval(%concat("@clumsy",%char,"TotalBash")))
#IF (@showClumsy) {#SAY {This session you've missed @clumsyMissBash out of @clumsyTotalBash bashes (@{clumsyPercentageBash}~% landed)}} {}
#IF (%eval(%concat("@show",%char,"OT"))) {
#SAY {Since %eval(%concat("@",%char,"OT")) you've missed %eval(%concat("@clumsy",%char,"MissBash")) out of %eval(%concat("@clumsy",%char,"TotalBash")) bashes (%eval(%concat("@clumsy",%char,"PercentageBash"))~% landed)}
} {}
} "" {case|disable}
#TRIGGER "clumsyChargeTrigger" {You line up your charge...$} {
#T+ {clumsyChargeLand}
#T+ {clumsyChargeOops}
#ALARM "clumsyChargeAlarm" +10 {
#T- {clumsyChargeLand}
#T- {clumsyChargeOops}
} "Clumsy"
} "" {case}
#TRIGGER "clumsyChargeLand" {^Chaaaaarrrge!! * bleeds profusely as you skewer * with *!$} {
#T- {clumsyChargeLand}
#T- {clumsyChargeOops}
#ADD clumsyLandCharge 1
#ADD %concat("clumsy",%char,"LandCharge") 1
#MATH clumsyTotalCharge @clumsyMissCharge+@clumsyLandCharge
#MATH clumsyPercentageCharge (@clumsyLandCharge*100/@clumsyTotalCharge)
#MATH %concat("clumsy",%char,"TotalCharge") %eval(%concat("@clumsy",%char,"MissCharge"))+%eval(%concat("@clumsy",%char,"LandCharge"))
#MATH %concat("clumsy",%char,"PercentageCharge") (%eval(%concat("@clumsy",%char,"LandCharge"))*100/%eval(%concat("@clumsy",%char,"TotalCharge")))
#IF (@showClumsy) {#SAY {This session you've landed @clumsyLandCharge out of @clumsyTotalCharge charges (@{clumsyPercentageCharge}~% landed)}} {}
#IF (%eval(%concat("@show",%char,"OT"))) {
#SAY {Since %eval(%concat("@",%char,"OT")) you've landed %eval(%concat("@clumsy",%char,"LandCharge")) out of %eval(%concat("@clumsy",%char,"TotalCharge")) charges (%eval(%concat("@clumsy",%char,"PercentageCharge"))~% landed)}
} {}
} "" {case|disable}
#TRIGGER "clumsyChargeOops" {^Oops. Your lame efforts cause you to miss.$} {
#T- {clumsyChargeLand}
#T- {clumsyChargeOops}
#ADD clumsyMissCharge 1
#ADD %concat("clumsy",%char,"MissCharge") 1
#MATH clumsyTotalCharge @clumsyMissCharge+@clumsyLandCharge
#MATH clumsyPercentageCharge (@clumsyLandCharge*100/@clumsyTotalCharge)
#MATH %concat("clumsy",%char,"TotalCharge") %eval(%concat("@clumsy",%char,"MissCharge"))+%eval(%concat("@clumsy",%char,"LandCharge"))
#MATH %concat("clumsy",%char,"PercentageCharge") (%eval(%concat("@clumsy",%char,"LandCharge"))*100/%eval(%concat("@clumsy",%char,"TotalCharge")))
#IF (@showClumsy) {#SAY {This session you've clumsied @clumsyMissCharge out of @clumsyTotalCharge charges (@{clumsyPercentageCharge}~% landed)}} {}
#IF (%eval(%concat("@show",%char,"OT"))) {
#SAY {Since %eval(%concat("@",%char,"OT")) you've clumsied %eval(%concat("@clumsy",%char,"MissCharge")) out of %eval(%concat("@clumsy",%char,"TotalCharge")) charges (%eval(%concat("@clumsy",%char,"PercentageCharge"))~% landed)}
} {}
} "" {case|disable}
#TRIGGER "clumsyKickLand" {Your boots need polishing again -- blood all over...$} {
clumsyKickTriggers off
#ADD clumsyLandKick 1
#ADD %concat("clumsy",%char,"LandKick") 1
#MATH clumsyTotalKick @clumsyLandKick+@clumsyMissKick
#MATH clumsyPercentageKick (@clumsyLandKick*100/@clumsyTotalKick)
#MATH %concat("clumsy",%char,"TotalKick") %eval(%concat("@clumsy",%char,"LandKick"))+%eval(%concat("@clumsy",%char,"MissKick"))
#MATH %concat("clumsy",%char,"PercentageKick") (%eval(%concat("@clumsy",%char,"LandKick"))*100/%eval(%concat("@clumsy",%char,"TotalKick")))
#IF (@showClumsy) {#SAY {This session you've landed @clumsyLandKick out of @clumsyTotalKick kicks (@{clumsyPercentageKick}~% landed)}} {}
#IF (%eval(%concat("@show",%char,"OT"))) {
#SAY {Since %eval(%concat("@",%char,"OT")) you've landed %eval(%concat("@clumsy",%char,"LandKick")) out of %eval(%concat("@clumsy",%char,"TotalKick")) kicks (%eval(%concat("@clumsy",%char,"PercentageKick"))~% landed)}
} {}
} "" {case|disable}
#TRIGGER "clumsyKickHit" {Your kick hits * in the solar plexus!$} {
clumsyKickTriggers off
#ADD clumsyLandKick 1
#ADD %concat("clumsy",%char,"LandKick") 1
#MATH clumsyTotalKick @clumsyLandKick+@clumsyMissKick
#MATH clumsyPercentageKick (@clumsyLandKick*100/@clumsyTotalKick)
#MATH %concat("clumsy",%char,"TotalKick") %eval(%concat("@clumsy",%char,"LandKick"))+%eval(%concat("@clumsy",%char,"MissKick"))
#MATH %concat("clumsy",%char,"PercentageKick") (%eval(%concat("@clumsy",%char,"LandKick"))*100/%eval(%concat("@clumsy",%char,"TotalKick")))
#IF (@showClumsy) {#SAY {This session you've landed @clumsyLandKick out of @clumsyTotalKick kicks (@{clumsyPercentageKick}~% landed)}} {}
#IF (%eval(%concat("@show",%char,"OT"))) {
#SAY {Since %eval(%concat("@",%char,"OT")) you've landed %eval(%concat("@clumsy",%char,"LandKick")) out of %eval(%concat("@clumsy",%char,"TotalKick")) kicks (%eval(%concat("@clumsy",%char,"PercentageKick"))~% landed)}
} {}
} "" {case|disable}
#TRIGGER "clumsyKickMiss" {You miss your kick at * groin, much to * relief...$} {
clumsyKickTriggers off
#ADD clumsyMissKick 1
#ADD %concat("clumsy",%char,"MissKick") 1
#MATH clumsyTotalKick @clumsyLandKick+@clumsyMissKick
#MATH clumsyPercentageKick (@clumsyLandKick*100/@clumsyTotalKick)
#MATH %concat("clumsy",%char,"TotalKick") %eval(%concat("@clumsy",%char,"LandKick"))+%eval(%concat("@clumsy",%char,"MissKick"))
#MATH %concat("clumsy",%char,"PercentageKick") (%eval(%concat("@clumsy",%char,"LandKick"))*100/%eval(%concat("@clumsy",%char,"TotalKick")))
#IF (@showClumsy) {#SAY {This session you've clumsied @clumsyMissKick out of @clumsyTotalKick kicks (@{clumsyPercentageKick}~% landed)}} {}
#IF (%eval(%concat("@show",%char,"OT"))) {
#SAY {Since %eval(%concat("@",%char,"OT")) you've clumsied %eval(%concat("@clumsy",%char,"MissKick")) out of %eval(%concat("@clumsy",%char,"TotalKick")) kicks (%eval(%concat("@clumsy",%char,"PercentageKick"))~% landed)}
} {}
} "" {case|disable}
#TRIGGER "clumsyKickMile" {Your beautiful full-circle kick misses * by a mile.$} {
clumsyKickTriggers off
#ADD clumsyMissKick 1
#ADD %concat("clumsy",%char,"MissKick") 1
#MATH clumsyTotalKick @clumsyLandKick+@clumsyMissKick
#MATH clumsyPercentageKick (@clumsyLandKick*100/@clumsyTotalKick)
#MATH %concat("clumsy",%char,"TotalKick") %eval(%concat("@clumsy",%char,"LandKick"))+%eval(%concat("@clumsy",%char,"MissKick"))
#MATH %concat("clumsy",%char,"PercentageKick") (%eval(%concat("@clumsy",%char,"LandKick"))*100/%eval(%concat("@clumsy",%char,"TotalKick")))
#IF (@showClumsy) {#SAY {This session you've clumsied @clumsyMissKick out of @clumsyTotalKick kicks (@{clumsyPercentageKick}~% landed)}} {}
#IF (%eval(%concat("@show",%char,"OT"))) {
#SAY {Since %eval(%concat("@",%char,"OT")) you've clumsied %eval(%concat("@clumsy",%char,"MissKick")) out of %eval(%concat("@clumsy",%char,"TotalKick")) kicks (%eval(%concat("@clumsy",%char,"PercentageKick"))~% landed)}
} {}
} "" {case|disable}
#TRIGGER "clumsyThrowTrigger" {You throw * at *.$} {
clumsyThrowTriggers on
#ALARM "clumsyThrowAlarm" +10 {clumsyThrowTriggers off} "Clumsy"
} "" {case}
#TRIGGER "clumsyThrowLand" {^* grunts in pain as * is struck by *.$} {
clumsyThrowTriggers off
#ADD clumsyLandThrow 1
#ADD %concat("clumsy",%char,"LandThrow") 1
#MATH clumsyTotalThrow @clumsyMissThrow+@clumsyLandThrow
#MATH clumsyPercentageThrow (@clumsyLandThrow*100/@clumsyTotalThrow)
#MATH %concat("clumsy",%char,"TotalThrow") %eval(%concat("@clumsy",%char,"MissThrow"))+%eval(%concat("@clumsy",%char,"LandThrow"))
#MATH %concat("clumsy",%char,"PercentageThrow") (%eval(%concat("@clumsy",%char,"LandThrow"))*100/%eval(%concat("@clumsy",%char,"TotalThrow")))
#IF (@showClumsy) {#SAY {This session you've landed @clumsyLandThrow out of @clumsyTotalThrow throws (@{clumsyPercentageThrow}~% landed)}} {}
#IF (%eval(%concat("@show",%char,"OT"))) {
#SAY {Since %eval(%concat("@",%char,"OT")) you've landed %eval(%concat("@clumsy",%char,"LandThrow")) out of %eval(%concat("@clumsy",%char,"TotalThrow")) throws (%eval(%concat("@clumsy",%char,"PercentageThrow"))~% landed)}
} {}
} "" {case|disable}
#TRIGGER "clumsyThrowRip" {^* rips through * guts as * collapses to the ground.$} {
clumsyThrowTriggers off
#ADD clumsyLandThrow 1
#ADD %concat("clumsy",%char,"LandThrow") 1
#MATH clumsyTotalThrow @clumsyMissThrow+@clumsyLandThrow
#MATH clumsyPercentageThrow (@clumsyLandThrow*100/@clumsyTotalThrow)
#MATH %concat("clumsy",%char,"TotalThrow") %eval(%concat("@clumsy",%char,"MissThrow"))+%eval(%concat("@clumsy",%char,"LandThrow"))
#MATH %concat("clumsy",%char,"PercentageThrow") (%eval(%concat("@clumsy",%char,"LandThrow"))*100/%eval(%concat("@clumsy",%char,"TotalThrow")))
#IF (@showClumsy) {#SAY {This session you've landed @clumsyLandThrow out of @clumsyTotalThrow throws (@{clumsyPercentageThrow}~% landed)}} {}
#IF (%eval(%concat("@show",%char,"OT"))) {
#SAY {Since %eval(%concat("@",%char,"OT")) you've landed %eval(%concat("@clumsy",%char,"LandThrow")) out of %eval(%concat("@clumsy",%char,"TotalThrow")) throws (%eval(%concat("@clumsy",%char,"PercentageThrow"))~% landed)}
} {}
} "" {case|disable}
#TRIGGER "clumsyThrowCrit" {^* spasms in excruciating pain as * is struck by *.$} {
clumsyThrowTriggers off
#ADD clumsyLandThrow 1
#ADD clumsyLandThrowCritical 1
#ADD %concat("clumsy",%char,"LandThrow") 1
#ADD %concat("clumsy",%char,"LandThrowCritical") 1
#MATH clumsyPercentageThrowCritical (@clumsyLandThrowCritical*100/@clumsyLandThrow)
#MATH %concat("clumsy",%char,"PercentageThrowCritical") (%eval(%concat("@clumsy",%char,"LandThrowCritical"))*100/%eval(%concat("@clumsy",%char,"LandThrow")))
#MATH clumsyTotalThrow @clumsyMissThrow+@clumsyLandThrow
#MATH clumsyPercentageThrow (@clumsyLandThrow*100/@clumsyTotalThrow)
#MATH %concat("clumsy",%char,"TotalThrow") %eval(%concat("@clumsy",%char,"MissThrow"))+%eval(%concat("@clumsy",%char,"LandThrow"))
#MATH %concat("clumsy",%char,"PercentageThrow") (%eval(%concat("@clumsy",%char,"LandThrow"))*100/%eval(%concat("@clumsy",%char,"TotalThrow")))
#IF (@showClumsy) {#SAY {This session you've landed @clumsyLandThrow out of @clumsyTotalThrow throws (@{clumsyPercentageThrow}~% landed)}} {}
#IF (%eval(%concat("@show",%char,"OT"))) {
#SAY {Since %eval(%concat("@",%char,"OT")) you've landed %eval(%concat("@clumsy",%char,"LandThrow")) out of %eval(%concat("@clumsy",%char,"TotalThrow")) throws (%eval(%concat("@clumsy",%char,"PercentageThrow"))~% landed)}
} {}
} "" {case|disable}
#TRIGGER "clumsyThrowDeflect" {^* deflects * that was thrown at *.$} {
clumsyThrowTriggers off
#ADD clumsyMissThrow 1
#ADD %concat("clumsy",%char,"MissThrow") 1
#MATH clumsyTotalThrow @clumsyMissThrow+@clumsyLandThrow
#MATH clumsyPercentageThrow (@clumsyLandThrow*100/@clumsyTotalThrow)
#MATH %concat("clumsy",%char,"TotalThrow") %eval(%concat("@clumsy",%char,"MissThrow"))+%eval(%concat("@clumsy",%char,"LandThrow"))
#MATH %concat("clumsy",%char,"PercentageThrow") (%eval(%concat("@clumsy",%char,"LandThrow"))*100/%eval(%concat("@clumsy",%char,"TotalThrow")))
#IF (@showClumsy) {#SAY {This session you've clumsied @clumsyMissThrow out of @clumsyTotalThrow throws (@{clumsyPercentageThrow}~% landed)}} {}
#IF (%eval(%concat("@show",%char,"OT"))) {
#SAY {Since %eval(%concat("@",%char,"OT")) you've clumsied %eval(%concat("@clumsy",%char,"MissThrow")) out of %eval(%concat("@clumsy",%char,"TotalThrow")) throws (%eval(%concat("@clumsy",%char,"PercentageThrow"))~% landed)}
} {}
} "" {case|disable}
#TRIGGER "clumsyThrowMiss" {^* just misses * and falls to the ground.$} {
clumsyThrowTriggers off
#ADD clumsyMissThrow 1
#ADD %concat("clumsy",%char,"MissThrow") 1
#MATH clumsyTotalThrow @clumsyMissThrow+@clumsyLandThrow
#MATH clumsyPercentageThrow (@clumsyLandThrow*100/@clumsyTotalThrow)
#MATH %concat("clumsy",%char,"TotalThrow") %eval(%concat("@clumsy",%char,"MissThrow"))+%eval(%concat("@clumsy",%char,"LandThrow"))
#MATH %concat("clumsy",%char,"PercentageThrow") (%eval(%concat("@clumsy",%char,"LandThrow"))*100/%eval(%concat("@clumsy",%char,"TotalThrow")))
#IF (@showClumsy) {#SAY {This session you've clumsied @clumsyMissThrow out of @clumsyTotalThrow throws (@{clumsyPercentageThrow}~% landed)}} {}
#IF (%eval(%concat("@show",%char,"OT"))) {
#SAY {Since %eval(%concat("@",%char,"OT")) you've clumsied %eval(%concat("@clumsy",%char,"MissThrow")) out of %eval(%concat("@clumsy",%char,"TotalThrow")) throws (%eval(%concat("@clumsy",%char,"PercentageThrow"))~% landed)}
} {}
} "" {case|disable}
#TRIGGER "clumsyStabTrigger" {You silently approach your victim...$} {
#T+ {clumsyStabLand}
#T+ {clumsyStabOoops}
#ALARM "clumsyStabAlarm" +10 {
#T- {clumsyStabLand}
#T- {clumsyStabOoops}
} "Clumsy"
} "" {case}
#TRIGGER "clumsyStabLand" {^* makes a strange sound as you place * in * back!$} {
#T- {clumsyStabLand}
#T- {clumsyStabOoops}
#ADD clumsyLandStab 1
#ADD %concat("clumsy",%char,"LandStab") 1
#MATH clumsyTotalStab @clumsyLandStab+@clumsyMissStab
#MATH clumsyPercentageStab (@clumsyLandStab*100/@clumsyTotalStab)
#MATH %concat("clumsy",%char,"TotalStab") %eval(%concat("@clumsy",%char,"LandStab"))+%eval(%concat("@clumsy",%char,"MissStab"))
#MATH %concat("clumsy",%char,"PercentageStab") (%eval(%concat("@clumsy",%char,"LandStab"))*100/%eval(%concat("@clumsy",%char,"TotalStab")))
#IF (@showClumsy) {#SAY {This session you've landed @clumsyLandStab out of @clumsyTotalStab stabs (@{clumsyPercentageStab}~% landed)}} {}
#IF (%eval(%concat("@show",%char,"OT"))) {
#SAY {Since %eval(%concat("@",%char,"OT")) you've landed %eval(%concat("@clumsy",%char,"LandStab")) out of %eval(%concat("@clumsy",%char,"TotalStab")) stabs (%eval(%concat("@clumsy",%char,"PercentageStab"))~% landed)}
} {}
} "" {case|disable}
#TRIGGER "clumsyStabOoops" {^Ooops. Your clumsy execution broadcasts your intentions.$} {
#T- {clumsyStabLand}
#T- {clumsyStabOoops}
#ADD clumsyMissStab 1
#ADD %concat("clumsy",%char,"MissStab") 1
#MATH clumsyTotalStab @clumsyLandStab+@clumsyMissStab
#MATH clumsyPercentageStab (@clumsyLandStab*100/@clumsyTotalStab)
#MATH %concat("clumsy",%char,"TotalStab") %eval(%concat("@clumsy",%char,"LandStab"))+%eval(%concat("@clumsy",%char,"MissStab"))
#MATH %concat("clumsy",%char,"PercentageStab") (%eval(%concat("@clumsy",%char,"LandStab"))*100/%eval(%concat("@clumsy",%char,"TotalStab")))
#IF (@showClumsy) {#SAY {This session you've clumsied @clumsyMissStab out of @clumsyTotalStab stabs (@{clumsyPercentageStab}~% landed)}} {}
#IF (%eval(%concat("@show",%char,"OT"))) {
#SAY {Since %eval(%concat("@",%char,"OT")) you've clumsied %eval(%concat("@clumsy",%char,"MissStab")) out of %eval(%concat("@clumsy",%char,"TotalStab")) stabs (%eval(%concat("@clumsy",%char,"PercentageStab"))~% landed)}
} {}
} "" {case|disable}
#ONINPUT "clumsyKickInput" {^{kic|kick}} {clumsyKickTriggers on} "Clumsy" {}
#ONINPUT "clumsyBashInput" {^{bas|bash}} {clumsyBashTriggers on} "Clumsy" {}
#CLASS 0
#CLASS {Clumsy|ClumsyConnect} {enable}
#TRIGGER "clumsyConnectTrigger" {%s The Wheel Of Time MUD} {
#T- {Clumsy|ClumsyConnect}
#IF (%class(Clumsy|%concat(%char,ClumsyVariables))=-1) {
#CLASS {Clumsy|%concat(%char,ClumsyVariables)} {disable}
#CLASS 0
#VAR %concat("clumsy",%char,"LandBash") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("clumsy",%char,"LandCharge") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("clumsy",%char,"LandKick") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("clumsy",%char,"LandStab") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("clumsy",%char,"LandThrow") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("clumsy",%char,"LandThrowCritical") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("clumsy",%char,"MissBash") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("clumsy",%char,"MissCharge") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("clumsy",%char,"MissKick") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("clumsy",%char,"MissStab") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("clumsy",%char,"MissThrow") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("clumsy",%char,"PercentageBash") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("clumsy",%char,"PercentageCharge") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("clumsy",%char,"PercentageDisarm") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("clumsy",%char,"PercentageKick") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("clumsy",%char,"PercentageStab") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("clumsy",%char,"PercentageThrow") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("clumsy",%char,"PercentageThrowCritical") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("clumsy",%char,"RoundPercent") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("clumsy",%char,"RoundTotal") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("clumsy",%char,"TotalBash") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("clumsy",%char,"TotalCharge") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("clumsy",%char,"TotalKick") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("clumsy",%char,"TotalStab") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("clumsy",%char,"TotalThrow") {0} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat("show",%char,"OT") {1} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
#VAR %concat(%char,"OT") {%time("m/d/20y")} {_nodef} {Clumsy|%concat(%char,ClumsyVariables)}
} {#T+ {Clumsy|%concat(%char,ClumsyVariables)}}
} "" {case}
#CLASS 0