Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Somnium
Beginner


Joined: 15 Nov 2008
Posts: 10

PostPosted: Sat Nov 15, 2008 6:41 am   

Need a spelltimer for MuME
 
Hey folks, new to this forum and new to zmud.

Got a pretty tricky part I could use a hand with.

Below u see a common MUME (multi-users middle-earth) info (character) message

You are a male Black Númenórean.
You are X years, X months and X days old.
You have played X days and X hours (real time). Session: X min.
This ranks you as X the Black Númenórean Priest (level X).
You are five feet eleven and weigh twelve stone and eight pounds.
Perception: vision 40, hearing 20, smell 5. Alertness: normal.
You are totally corrupted by the Evilness of Morgoth!
You are welcome in Tharbad.
Your equipment weighs X pounds. Heavy, but we will manage...
Your base abilities are: Str:X Int:X Wis:X Dex:X Con:X Wil:X Per:X.
Offensive Bonus: X, Dodging Bonus: X, Parrying Bonus: X.
Your armour provides an average protection of X.
You have X hit, X mana, and X movement points.
Your mood is wimpy. You will fight to the death.
You have scored X experience points and you have X travel points.
You are not known for any acts of war.
You need X exp. points and 0 travel points to reach the next level.
You have X gold coins, X silver pennies, and X copper pennies.
You are speaking Orkish.
You will swim if necessary.
You will try to climb even under unsafe conditions.

You are subjected to the following temporary effects:
- depression
- armour

------END-------

Sorry for spam here fellows, I´ve X-marked all personal stats etc for this test model.
What I am looking to fix is a TIMER that counts the "temporary effects:" you see above.
The - armour is a spell.
When u cast this spell the mud show u the message "A blue transparent wall slowly appears around you."
On that message I´ve tried the timer to start (counting from 0 -X minutes)

When the spell drops u get the message "You feel less protected" - Here I would like the timer to reset to 0

Now that is the easy part, problem that I cannot get solved is the following below.

You are subjected to the following temporary effects:
- depression
- armour (2:38) < - - - - - - - They spell has been active for 2 minutes and 38 secs. But I cannot get the (2:38) message to get shown under info (character info) and under the message "You are subjected to .. ... .. "etc etc.
As well as when the spell drop I´ve tried this

EX. #tr {You feel less protected} {#gag;sh - ARMOUR DOWN -}
but trying to apply a - ARMOUR DOWN - (2:39) <- - - - - message when timer stops to the #sh command, still keeps me puzzled.

If any1 have any suggestions or could help me out on this I would be eternaly greatful.
I am an old Powtty user and got a script for it, if any1 good in translating powtty to zmud.

Finally I pardon my english but been scripting for the last 8 hrs without succes and I think my brain-functions are running on a quarter of it´s normal power ;)

/Christian
Reply with quote
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Sat Nov 15, 2008 6:56 am   
 
Two things - You really need to watch your language here, and you need to post this in the zMUD forum, not the Finished Scripts forum. Other than that, welcome to zMUD.

Charneus
Reply with quote
Somnium
Beginner


Joined: 15 Nov 2008
Posts: 10

PostPosted: Sat Nov 15, 2008 3:54 pm   
 
I've posted it into general discussion and censored it a bit :D. thx
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Sun Nov 16, 2008 8:52 pm   
 
Actually, I did both those things for you ;)
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Somnium
Beginner


Joined: 15 Nov 2008
Posts: 10

PostPosted: Mon Nov 17, 2008 7:00 am   
 
thx ^^
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net