Anyone needing/wanting help with zMUD?

... A place to ask for help on any topic whether it be starting out to player killing to IT issues.
Spyder
Posts: 201
Joined: Wed Mar 25, 2015 5:51 am
Location: Australia

Re: Anyone needing/wanting help with zMUD?

Post by Spyder » Fri Nov 13, 2015 12:44 am

Cheers man, thats awesome! Will test and report.

Terinor
Posts: 509
Joined: Wed Feb 18, 2015 2:19 pm

Re: Anyone needing/wanting help with zMUD?

Post by Terinor » Fri Nov 13, 2015 7:58 am

can you make a script that colors my bashes, charges, and stabs..in which each word is a different color..so the whole thing looks like a rainbow

Taziar
Posts: 952
Joined: Sat Mar 21, 2015 10:28 pm
Location: !Discord

Re: Anyone needing/wanting help with zMUD?

Post by Taziar » Fri Nov 13, 2015 2:14 pm

Terinor wrote:can you make a script that colors my bashes, charges, and stabs..in which each word is a different color..so the whole thing looks like a rainbow
Yes! But you have to promise to use it :P

Terinor
Posts: 509
Joined: Wed Feb 18, 2015 2:19 pm

Re: Anyone needing/wanting help with zMUD?

Post by Terinor » Fri Nov 13, 2015 6:35 pm

im not even joking ive used this same thing for years but the last time my computer bombed i lost it :(

Taziar
Posts: 952
Joined: Sat Mar 21, 2015 10:28 pm
Location: !Discord

Re: Anyone needing/wanting help with zMUD?

Post by Taziar » Fri Nov 13, 2015 10:37 pm

Im on it! Any color preferences on the order of colors and/or the colors themselves? Or maybe I can figure out how to make it customizeable or even random...

Taziar
Posts: 952
Joined: Sat Mar 21, 2015 10:28 pm
Location: !Discord

Re: Anyone needing/wanting help with zMUD?

Post by Taziar » Sat Nov 14, 2015 4:06 am

Here ya go Terinor!

type tbc color to set the script to be the same as your background color.

This script colors the words in the success messages of a bash, charge, and stab into a rainbow of randomness.

note- if you dislike a certain color just delete it from the terinorRainbow stringlist variable.
If you need help with this or want me to change anything just let me know.
I can also easily make a version that has specific colors in any sequence you like.
side note- I only tested the stab message... if bash or charge don't work right let me know.

Code: Select all

#CLASS {terinorColorsRandom}
#ALIAS tbc {
	#VAR terinorBC %1
	#ECHO %1 is now set as your Terinor Background Color.
	}
#ALIAS selectColor {
    #VAR terinorRandomColor %item(@terinorRainbow, %random(1, %numitems(@terinorRainbow)))
	}
#VAR terinorBC {}
#VAR terinorRainbow {blue|green|cyan|red|magenta|yellow|bold,blue|bold,green|bold,cyan|bold,red|bold,magenta|bold,yellow}
#VAR terinorRandomColor {}
#VAR terinorColor1 {}
#VAR terinorColor2 {}
#VAR terinorColor3 {}
#VAR terinorColor4 {}
#VAR terinorColor5 {}
#VAR terinorColor6 {}
#VAR terinorColor7 {}
#VAR terinorColor8 {}
#VAR terinorColor9 {}
#VAR terinorColor10 {}
#VAR terinorColor11 {}
#VAR terinorColor12 {}
#TRIGGER {Chaaaaarrrge!! %1 bleeds profusely as you skewer %2 with %3!} {
	#LOOP 1,10 {
		selectColor
		#VAR terinorColor%{i} {@terinorRandomColor}
	}
	#SUB {%ansi(@terinorColor1,@terinorBC)Chaaaaarrrge!! %ansi(@terinorColor2,@terinorBC)%1 %ansi(@terinorColor3,@terinorBC)bleeds %ansi(@terinorColor4,@terinorBC)profusely %ansi(@terinorColor5,@terinorBC)as %ansi(@terinorColor6,@terinorBC)you %ansi(@terinorColor7,@terinorBC)skewer %ansi(@terinorColor8,@terinorBC)%2 %ansi(@terinorColor9,@terinorBC)with %ansi(@terinorColor10,@terinorBC)%3!}
	}
#TRIGGER {%1 makes a strange sound as you place %2 in %3 back!} {
	#LOOP 1,12 {
		selectColor
		#VAR terinorColor%{i} {@terinorRandomColor}
	}
	#SUB {%ansi(@terinorColor1,@terinorBC)%1 %ansi(@terinorColor2,@terinorBC)makes %ansi(@terinorColor3,@terinorBC)a %ansi(@terinorColor4,@terinorBC)strange %ansi(@terinorColor5,@terinorBC)sound %ansi(@terinorColor6,@terinorBC)as %ansi(@terinorColor7,@terinorBC)you %ansi(@terinorColor8,@terinorBC)place %ansi(@terinorColor9,@terinorBC)%2 %ansi(@terinorColor10,@terinorBC)in %ansi(@terinorColor11,@terinorBC)%3 %ansi(@terinorColor12,@terinorBC)back!}
	}
#TRIGGER {Your bash at %1 sends %2 sprawling!} {
	#LOOP 1,7 {
		selectColor
		#VAR terinorColor%{i} {@terinorRandomColor}
	}
	#SUB {%ansi(@terinorColor1,@terinorBC)Your %ansi(@terinorColor2,@terinorBC)bash %ansi(@terinorColor3,@terinorBC)at %ansi(@terinorColor4,@terinorBC)%1 %ansi(@terinorColor5,@terinorBC)sends %ansi(@terinorColor6,@terinorBC)%2 %ansi(@terinorColor7,@terinorBC)sprawling!}
	}
#CLASS 0

Spyder
Posts: 201
Joined: Wed Mar 25, 2015 5:51 am
Location: Australia

Re: Anyone needing/wanting help with zMUD?

Post by Spyder » Sat Nov 14, 2015 4:52 pm

Wondering did anyone still have a copy of the old ON script used to easily narrate your location? I think there was one also that copy pasted the enemies names too? That could have been in my imagination though.

Taziar
Posts: 952
Joined: Sat Mar 21, 2015 10:28 pm
Location: !Discord

Re: Anyone needing/wanting help with zMUD?

Post by Taziar » Sat Nov 14, 2015 6:08 pm

Cool idea, never saw the original. Give me some more details and I can start writting one when I get home from work tonight!

Something like:

Spyder narrates 'on *humanName* at <roomName>!'

??
Last edited by Taziar on Sat Nov 14, 2015 9:49 pm, edited 1 time in total.

Terinor
Posts: 509
Joined: Wed Feb 18, 2015 2:19 pm

Re: Anyone needing/wanting help with zMUD?

Post by Terinor » Sat Nov 14, 2015 7:25 pm

thanks taz!

Spyder
Posts: 201
Joined: Wed Mar 25, 2015 5:51 am
Location: Australia

Re: Anyone needing/wanting help with zMUD?

Post by Spyder » Sun Nov 15, 2015 7:26 am

It used to work something similar to that. I will have a dig for an old usb. I'm sure i have all the old scripts circa 2006 around!

Post Reply