Imperian: EQ/BAL Tracking Module Using Mudbot and Mudlet
by Robert Massey
1. Prompt Messages.
1.1. H:296/296( ) M:372/383( ) W:1818(TARGETHERE) <eb>
1.2. EQ Lost: H:296/296( ) M:281/383(-91) W:1818(TARGETHERE) <-b>
1.3. Balance Lost: H:296/296( ) M:281/383( ) W:1817(TARGETHERE) <e->
2. Balance Tracking
2.1. You have recovered balance.
2.2. bal = 1/0
3. EQ Tracking
3.1. You have regained your mental equilibrium.
3.2. eq = 1/0
4. Custom Prompt
4.1. P "^xH:^1%h^x/^g%H^x(^g%D^x) M:^2%m^x/^g%M^x(^g%Y^x) W:^3%w^x(TARGETHERE)^x <?e{^ge^x}!{-}?b{^gb^x}!{-}?a{ ^Y}?p{p}?f{f}?B{b}?d{d}?s{s}^x>?W{ <^rw^x>}
5. Code:
5.1. Prompt Regex:
5.1.1. H:\w*/\w*\(.+\).M:\w*/\w*\(.+\).W:\w*\(.*\).<(.*)>
5.1.1.1. Code: eq = 0 bal =0
5.1.1.2. Child Triggers
5.1.1.2.1. e
5.1.1.2.2. b
5.1.2. Turn into a Filter
5.2. Variables
5.2.1. bal
5.2.1.1. 1/0
5.2.2. eq
5.2.2.1. 1/0
5.3. Actual Code:
5.3.1. You have recovered balance.
5.3.1.1. bal = 1
5.3.2. You have regained your mental equilibrium
5.3.2.1. eq = 1