status script needed

... A place to ask for help on any topic whether it be starting out to player killing to IT issues.
Post Reply
melyssan
Posts: 120
Joined: Fri Mar 20, 2015 9:22 pm

status script needed

Post by melyssan » Sat Apr 01, 2017 10:41 am

back before my old comp died on me i had a script that when i'd do a score it would put my currant/max hp sp and moves on the bar right above where you type commands in zmud but now that i have a new comp and decided to maybe play again i no longer have said script if anyone is able to make one i'd apprecate it

Guest

Re: status script needed

Post by Guest » Sun Apr 02, 2017 5:29 am

That script is in the zmud section on the wotmud archive forums. I forget which thread and I'm too lazy to look but i have seen it there.

Taziar
Posts: 806
Joined: Sat Mar 21, 2015 10:28 pm
Location: Seattle

Re: status script needed

Post by Taziar » Sun Apr 02, 2017 11:11 am

Deeds!

If you don't find one on wotmudarchives.org forums I will cobble a basic one together for you tonight.

Taziar

Taziar
Posts: 806
Joined: Sat Mar 21, 2015 10:28 pm
Location: Seattle

Re: status script needed

Post by Taziar » Mon Apr 03, 2017 12:19 am

Introducing.... dun, dun, duuuun! The Deedlit Bar.

Simply type sc, sco, scor, or score to activate (and should never false trigger because it turns itself off and only triggers on numbers).

Thanks for the idea, I plan to make an expanded version that should keep track on tic regen rates and some other cool stuff :)

Glad to see you back Deeds !

Code: Select all

#CLASS {DeedlitBar}
#VAR deedsHP {}
#VAR deedsSP {}
#VAR deedsMV {}
#VAR deedsMaxHP {}
#VAR deedsMaxSP {}
#VAR deedsMaxMV {}
#ONINPUT {^(sc|sco|scor|score)$} {
	#T+ {deedsTrigger}
	#T+ {deedsTrigger2}
	#T+ {deedsTrigger3}
	} "" {regex}
#TRIGGER "deedsTrigger" {You have &%ddeedsHP~(&%ddeedsMaxHP~) hit and &%ddeedsMV~(&%ddeedsMaxMV~) movement points.$} {} "" {case}
#TRIGGER "deedsTrigger2" {You have &%ddeedsHP~(&%ddeedsMaxHP~) hit, &%ddeedsSP~(&%ddeedsMaxSP~) said?? and &%ddeedsMV~(&%ddeedsMaxMV~) movement points.$} {} "" {case}
#TRIGGER "deedsTrigger3" {^This ranks you as} {
	#T- {deedsTrigger}
	#T- {deedsTrigger2}
	#T- {deedsTrigger3}
	} "" {case}
#STATUS {<font fixedsys 11><color white black> HP: @deedsHP~(@deedsMaxHP~) </color></font>} "" "DeedlitBarHitPoints"
#STATUS {<font fixedsys 11><color white black> SP: @deedsSP~(@deedsMaxSP~) </color></font>} "" "DeedlitBarSpellPoints"
#STATUS {<font fixedsys 11><color white black> MV: @deedsMV~(@deedsMaxMV~) </color></font>} "" "DeedlitBarMovePoints"
#STATUS {<font fixedsys 11><color black black></color></font>} "" "DeedlitBarEnd"
#CLASS 0
EDIT- will work for all classes and genders. (except for fades DP because I don't have a log to base the trigger on)

Post Reply