Monument ShadowMUD

Chat

[08-29 17:47][Chat]Icewolfz: triggers are not ot bad in zmud
[08-29 17:48][Chat]Icewolfz: mostly its pattern matching
[08-29 17:48][Chat]Dhraxyn: Says the coder ha
[08-29 17:48][Chat]Icewolfz: reaplace changing works with a wildcard or such
[08-29 17:48][Chat]Icewolfz: eg Monster falls down.
[08-29 17:48][Chat]Icewolfz: becomeins ^* falls down.$
[08-29 17:48][Chat]Icewolfz: if i remmber irght for zmud patterns
[08-29 17:48][Chat]Icewolfz: but i am rusty on zmud so i may have the ^$ wong
[08-29 17:48][Chat]Icewolfz: granted or just do exact matchs for common stuff and not even worry about patterns
[08-29 17:49][Chat]Icewolfz: thats how hte classic omud did it
[08-29 17:49][Chat]Icewolfz: created atrigger fo revrey single line
[08-29 17:50][Chat]Icewolfz: yeah just using * is pretty easy
[08-29 17:50][Chat]Icewolfz: reaplace word with * and it matches any word in that spot
[08-29 17:50][Chat]Icewolfz: onyl gets complex if you want to capture the values and all
[08-29 17:50][Chat]Icewolfz: so zmyud just copy the text lin eand replace any chaning parts iwth * and it should work
[08-29 17:50][Chat]Icewolfz: most simple trigger
[08-29 17:50][Chat]Icewolfz: the ^ and $ are more safe guards
[08-29 17:51][Chat]Icewolfz: to match full line
[08-29 17:51][Chat]Icewolfz: ^ means match star, $ means match end
[08-29 17:51][Chat]Dhraxyn: Might try and make it work currently I just try and watch the clock
Back to List

ShadowMUD
12:10, Shadowday, Kortki 6, 223 AD.

Vote for Our Mud on TMC! Desert Bus for Hope