Anyone needing/wanting help with zMUD?
Anyone needing/wanting help with zMUD?
Lately I have had a lot of fun writing, re-writing, and modifying scripts for zMUD. If anyone has any need for help, or has an idea they want a script written for, or anything else relating to zMUD please feel free to mail me here on the forums and I will help as much as I can.
I have a post on wotmudarchives.org forums in the zMUD section with a bunch of scripts also.
Happy mudding!
Taziar Medakan [Rising Sun Blademaster]
I have a post on wotmudarchives.org forums in the zMUD section with a bunch of scripts also.
Happy mudding!
Taziar Medakan [Rising Sun Blademaster]
Re: Anyone needing/wanting help with zMUD?
Any chance you have a simple door script, that aliases a key for close/open when you either look direction or run into a door?
Just something like
"look east
the woodendoor is open.
alias 4 open woodendoor
alias 5 close woodendoor" ?
Just something like
"look east
the woodendoor is open.
alias 4 open woodendoor
alias 5 close woodendoor" ?
Re: Anyone needing/wanting help with zMUD?
This is from my post in the zMUD section on wotmudarchives.org forums...
Door Script, originally copied from Zain? and changed to personal preference.
type kd to knock @door1
type ud to unlock @door1
type pd to pick @door1
You could add an alias to open and close @door1 or setup a macro.
Alias example:
I set up a macro for both opening and closing @door1
Macro example:
Door Script, originally copied from Zain? and changed to personal preference.
Code: Select all
#CLASS {Doors}
#ALIAS kd {knock @door1}
#ALIAS ud {unlock @door1}
#ALIAS pd {pick @door1}
#VAR door1 {}
#TRIGGER {The %1 seems to be closed.} {#VAR door1 %1;#ECHO %1 is now set as door1}
#TRIGGER {You skillfully discover a hidden %1.} {#VAR door1 %1;#ECHO %1 is now set as door1}
#TRIGGER {The %1 is closed.} {#VAR door1 %1;#ECHO %1 is now set as door1}
#TRIGGER {The %1 is open.} {#VAR door1 %1;#ECHO %1 is now set as door1}
#TRIGGER {The %1 is obviously open.} {#VAR door1 %1;#ECHO %1 is now set as door1}
#TRIGGER {The %1 is quite visible.} {#VAR door1 %1;#ECHO %1 is now set as door1}
#CLASS 0
type ud to unlock @door1
type pd to pick @door1
You could add an alias to open and close @door1 or setup a macro.
Alias example:
Code: Select all
#ALIAS od {open @door1}
#ALIAS cd {close @door1}
Macro example:
Code: Select all
#KEY ADD open {@door1}
#KEY SUB close {@door1}
Re: Anyone needing/wanting help with zMUD?
This is a variant of the same script (also attributed to Zain!).
sd1 and sd2 to set doors, x and xx to open/close ones that you find. It's not as good as Taziar's, doesn't have the same flexibility and case coverage that it does, but I thought I'd share. I've kind of adjusted to it at this point.
sd1 and sd2 to set doors, x and xx to open/close ones that you find. It's not as good as Taziar's, doesn't have the same flexibility and case coverage that it does, but I thought I'd share. I've kind of adjusted to it at this point.
Code: Select all
#CLASS {doors}
#ALIAS sd1 {
#VAR door %1
#ECHO %1 is now set as door 1.
}
#ALIAS sd2 {
#VAR door2 %1
#ECHO %1 is now set as door 2.
}
#ALIAS x {open @door3}
#ALIAS xx {close @door3}
#ALIAS z {open @door}
#ALIAS p {close @door}
#ALIAS 2 {close @door2}
#ALIAS 1 {open @door2}
#TRIGGER {The %1 seems to be closed.} {
#var door3 %1
#echo %1 is now set as door3
}
#TRIGGER {The %1 is closed.} {
#var door3 %1
#echo %1 is now set as door3
}
#TRIGGER {The %1 is open.} {
#var door3 %1
#echo %1 is now set as door3
}
#CLASS 0
Re: Anyone needing/wanting help with zMUD?
thanks guys, I'll see which one I find to my liking. Maybe I'll just stick with manually assigning aliases
Re: Anyone needing/wanting help with zMUD?
Does anyone have a script that helps to highlight offensive weaves and status effects?
For example
Fear/Chill/Contagion etc (coloured in bright red)
Spikes/fball/hoa/fstrike/zing (coloured in like fluro yellow or something)
I can make a trigger to do this anyways but i don't know anything about scripting in that fashion
I am getting over re triggering these everytime my pc dies or a hdd brick. If someone can show me the framework i'll happily finish the product
For example
Fear/Chill/Contagion etc (coloured in bright red)
Spikes/fball/hoa/fstrike/zing (coloured in like fluro yellow or something)
I can make a trigger to do this anyways but i don't know anything about scripting in that fashion
I am getting over re triggering these everytime my pc dies or a hdd brick. If someone can show me the framework i'll happily finish the product

Re: Anyone needing/wanting help with zMUD?
Yeah, this is very doable. The only part I don't have is the message you get when you've been woven along with the variations (enormous fireball, melty spikes, etc), but here's the form.
#CLASS {WeaveHighlighting}
#TRIGGER {Your body is pierced by razor sharp ice spikes sent by} {#CW yellow}
....
#CLASS 0
In general: #TRIGGER {WeavePattern} {#CW <color>} for everything you want to color
Colors you can use: black, blue, green, cyan, Red, magenta, brown, gray, yellow, white
#CLASS {WeaveHighlighting}
#TRIGGER {Your body is pierced by razor sharp ice spikes sent by} {#CW yellow}
....
#CLASS 0
In general: #TRIGGER {WeavePattern} {#CW <color>} for everything you want to color
Colors you can use: black, blue, green, cyan, Red, magenta, brown, gray, yellow, white
Re: Anyone needing/wanting help with zMUD?
Here are some I use. I'm not a pro at this stuff, but I color mine like this: {#COLOR #FFFFFF,#FF2255} using hex colors because heck if I can figure out what all the color names are. Not sure if it works in ZMUD, but does in CMUD. Also, what pattern do you use to make sure that the string comes on a new line so someone can't accidentally trigger the color? I color a bunch of other stuff to but these are mostly the weave ones plus some other randoms...
Code: Select all
You gasp in pain as streaks of fire from * burn your body!
Your body is pierced by razor sharp ice spikes sent by
Your body is pierced by sharp but melting ice spikes sent by
calls lightning from the sky to strike you, sizzling your insides!
The impact of an unseen force sends you sprawling!
Your body is burned by a tremendous fireball sent by
Your body is burned by a weakened fireball sent by
A violent storm erupts and fierce winds blow through the area.
~*%w~* gazes deeply into your soul.. very chilling.
*KERBOOM* The explosion rips you from the ground and tosses you through the air.
The air around your eyes seems to catch fire, blinding you!
A strangled cough racks your lungs, causing agony!
You shiver from an icy cold force sent by
waves at you, and a cold sweat begins attacking your every muscle.
gestures and you begin to lose your balance.
You feel isolated from the Source!
You lose all sense of the True Source here.
You fumble * as you are struck.
* is thrown from your hands on your way down.
* defense, flooring him with one swift strike.
Arrrgggh!!! Your body is on FIRE! You have precious few moments to save your sorry life!
The ancient greatsword, Justice of * begins to glow...
Malfeasor, the twin bladed scythe of blood ebony of * begins to glow...
Re: Anyone needing/wanting help with zMUD?
I didn't know this, so I looked it up! ^ is Zmud's operator for forcing pattern recognition only on newlines. One sec and I'll add all that stuff..Thore wrote:Here are some I use. I'm not a pro at this stuff, but I color mine like this: {#COLOR #FFFFFF,#FF2255} using hex colors because heck if I can figure out what all the color names are. Not sure if it works in ZMUD, but does in CMUD. Also, what pattern do you use to make sure that the string comes on a new line so someone can't accidentally trigger the color? I color a bunch of other stuff to but these are mostly the weave ones plus some other randoms...
Code: Select all
You gasp in pain as streaks of fire from * burn your body! Your body is pierced by razor sharp ice spikes sent by Your body is pierced by sharp but melting ice spikes sent by calls lightning from the sky to strike you, sizzling your insides! The impact of an unseen force sends you sprawling! Your body is burned by a tremendous fireball sent by Your body is burned by a weakened fireball sent by A violent storm erupts and fierce winds blow through the area. ~*%w~* gazes deeply into your soul.. very chilling. *KERBOOM* The explosion rips you from the ground and tosses you through the air. The air around your eyes seems to catch fire, blinding you! A strangled cough racks your lungs, causing agony! You shiver from an icy cold force sent by waves at you, and a cold sweat begins attacking your every muscle. gestures and you begin to lose your balance. You feel isolated from the Source! You lose all sense of the True Source here. You fumble * as you are struck. * is thrown from your hands on your way down. * defense, flooring him with one swift strike. Arrrgggh!!! Your body is on FIRE! You have precious few moments to save your sorry life! The ancient greatsword, Justice of * begins to glow... Malfeasor, the twin bladed scythe of blood ebony of * begins to glow...
Re: Anyone needing/wanting help with zMUD?
#CLASS {WeaveHighlighting}
#TRIGGER {^Your body is pierced by razor sharp ice spikes sent by} {#CW yellow}
#TRIGGER {^You gasp in pain as streaks of fire from * burn your body!} {#CW yellow}
#TRIGGER {^Your body is pierced by sharp but melting ice spikes sent by} {#CW yellow}
#TRIGGER {^You gasp in pain as streaks of fire from * burn your body!} {#CW yellow}
#TRIGGER {^~*%w~* calls lightning from the sky to strike you, sizzling your insides!} {#CW yellow}
#TRIGGER {^%w calls lightning from the sky to strike you, sizzling your insides!} {#CW yellow}
#TRIGGER {^The impact of an unseen force sends you sprawling!} {#CW yellow}
#TRIGGER {^Your body is burned by a tremendous fireball sent by} {#CW yellow}
#TRIGGER {^Your body is burned by a weakened fireball sent by} {#CW yellow}
#TRIGGER {^~*%w~* gestures and you begin to lose your balance.} {#CW yellow}
#TRIGGER {^%w gestures and you begin to lose your balance.} {#CW yellow}
#TRIGGER {^~*%w~* gazes deeply into your soul.. very chilling} {#CW red}
#TRIGGER {^%w gazes deeply into your soul.. very chilling} {#CW red}
#TRIGGER {^The air around your eyes seems to catch fire, blinding you!} {#CW red}
#TRIGGER {^A strangled cough racks your lungs, causing agony!} {#CW red}
#TRIGGER {^%w waves at you, and a cold sweat begins attacking your every muscle.} {#CW red}
#TRIGGER {^~*%w~* waves at you, and a cold sweat begins attacking your every muscle.} {#CW red}
#TRIGGER {^You fumble * as you are struck.} {#CW red}
#TRIGGER {^You lose all sense of the True Source here.} {#CW red}
#TRIGGER {^You feel isolated from the Source!} {#CW red}
#TRIGGER {^Arrrgggh!!! Your body is on FIRE! You have precious few moments to save your sorry life!} {#CW magenta}
#CLASS 0
Try it out, lemme know where it breaks?
#TRIGGER {^Your body is pierced by razor sharp ice spikes sent by} {#CW yellow}
#TRIGGER {^You gasp in pain as streaks of fire from * burn your body!} {#CW yellow}
#TRIGGER {^Your body is pierced by sharp but melting ice spikes sent by} {#CW yellow}
#TRIGGER {^You gasp in pain as streaks of fire from * burn your body!} {#CW yellow}
#TRIGGER {^~*%w~* calls lightning from the sky to strike you, sizzling your insides!} {#CW yellow}
#TRIGGER {^%w calls lightning from the sky to strike you, sizzling your insides!} {#CW yellow}
#TRIGGER {^The impact of an unseen force sends you sprawling!} {#CW yellow}
#TRIGGER {^Your body is burned by a tremendous fireball sent by} {#CW yellow}
#TRIGGER {^Your body is burned by a weakened fireball sent by} {#CW yellow}
#TRIGGER {^~*%w~* gestures and you begin to lose your balance.} {#CW yellow}
#TRIGGER {^%w gestures and you begin to lose your balance.} {#CW yellow}
#TRIGGER {^~*%w~* gazes deeply into your soul.. very chilling} {#CW red}
#TRIGGER {^%w gazes deeply into your soul.. very chilling} {#CW red}
#TRIGGER {^The air around your eyes seems to catch fire, blinding you!} {#CW red}
#TRIGGER {^A strangled cough racks your lungs, causing agony!} {#CW red}
#TRIGGER {^%w waves at you, and a cold sweat begins attacking your every muscle.} {#CW red}
#TRIGGER {^~*%w~* waves at you, and a cold sweat begins attacking your every muscle.} {#CW red}
#TRIGGER {^You fumble * as you are struck.} {#CW red}
#TRIGGER {^You lose all sense of the True Source here.} {#CW red}
#TRIGGER {^You feel isolated from the Source!} {#CW red}
#TRIGGER {^Arrrgggh!!! Your body is on FIRE! You have precious few moments to save your sorry life!} {#CW magenta}
#CLASS 0
Try it out, lemme know where it breaks?