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
Kheri_
Wanderer


Joined: 11 Oct 2005
Posts: 58

PostPosted: Sat Oct 22, 2005 9:44 pm   

tick/exp
 
how would i make it to where how much exp i have gained, i could make a status bar that takes away one each time.
all i really need is a variable or something that would act like a tick to seconds.
making it take away one each second from my exp that i have gained since i was on.

You gain (*) experience for your victory.



Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes
Reply with quote
Insomniac
Wanderer


Joined: 25 Mar 2004
Posts: 78
Location: United Kingdom

PostPosted: Sun Oct 23, 2005 12:28 am   
 
Ok let me see if I understand what you ask...

You want a variable to track the amount of exp that you have gained since you logged on.

Your 'gain experience' trigger is You gain (*) experience for your victory.

all i really need is a variable or something that would act like a tick to seconds.
making it take away one each second from my exp that i have gained since i was on.


Don't really understand this part though, care to clarify?

#TRIGGER {^You gain (%d) experience for your victory.} {#ADD ExpSinceLogon %1}
#ALIAS atconnect {#VAR ExpSinceLogon 0}

That's a start... I think!
_________________

No-one ever gets flamed for posting too much information. Conform to the PPP (Preferred Posting Protocol) and give as much information as possible, including MUD output where needed.
Reply with quote
Kheri_
Wanderer


Joined: 11 Oct 2005
Posts: 58

PostPosted: Sun Oct 23, 2005 12:57 am   
 
Ok, here it goes.
sorry for making myself unclear, not what i meant.
I want to make a status bar that keeps track of how much exp per second i have gained since i have logged on.
Exp Gained since Logon/Seconds since Logon = Exp/Seconds
Exp and Seconds are variables.
Hope that helps :) i have problems finding stuff out about %time or whatever it is.
Reply with quote
Insomniac
Wanderer


Joined: 25 Mar 2004
Posts: 78
Location: United Kingdom

PostPosted: Sun Oct 23, 2005 1:42 am   
 
Ok then....

#TRIGGER {^You gain (%d) experience for your victory.} {#ADD Exp %1}
#ALIAS atconnect {#VAR Exp 0;#VAR Seconds 0;}
#ALARM {-00:01} {#ADD Seconds 1;#MATH ExpPerSecond @Exp/@Seconds;#STW Currently gained @ExpPerSecond exp per second}

Think that's what you want!
_________________

No-one ever gets flamed for posting too much information. Conform to the PPP (Preferred Posting Protocol) and give as much information as possible, including MUD output where needed.
Reply with quote
Kheri_
Wanderer


Joined: 11 Oct 2005
Posts: 58

PostPosted: Sun Oct 23, 2005 1:53 am   
 
wow! a little window, how do i tweak these for a status bar?
_________________
Old
Reply with quote
Kheri_
Wanderer


Joined: 11 Oct 2005
Posts: 58

PostPosted: Sun Oct 23, 2005 1:55 am   
 
I'm guessing that's the #STW
_________________
Old
Reply with quote
Kheri_
Wanderer


Joined: 11 Oct 2005
Posts: 58

PostPosted: Sun Oct 23, 2005 2:04 am   
 
i.. i can't get rid of the status window, i got everything else right to what i want but i can't get rid of the window, it's just blank
please help me!!
_________________
Old
Reply with quote
Kheri_
Wanderer


Joined: 11 Oct 2005
Posts: 58

PostPosted: Sun Oct 23, 2005 2:07 am   
 
i even deleted the status bar
and remade it
took out the #STW Currently gained @ExpPerSecond exp per second that was in the trigger
_________________
Old
Reply with quote
Insomniac
Wanderer


Joined: 25 Mar 2004
Posts: 78
Location: United Kingdom

PostPosted: Sun Oct 23, 2005 2:09 am   
 
Sorry, I read status WINDOW instead of status BAR!

If you've changed the script so it doesn't reference the status window (#STW) then you can close it by unticking the menu item Windows:Status
_________________

No-one ever gets flamed for posting too much information. Conform to the PPP (Preferred Posting Protocol) and give as much information as possible, including MUD output where needed.
Reply with quote
Kheri_
Wanderer


Joined: 11 Oct 2005
Posts: 58

PostPosted: Sun Oct 23, 2005 2:31 am   
 
can't get to it via show, menu items, (no windows)
_________________
Old
Reply with quote
Insomniac
Wanderer


Joined: 25 Mar 2004
Posts: 78
Location: United Kingdom

PostPosted: Sun Oct 23, 2005 2:37 am   
 
At the top of Zmud, where it says File/Edit/View/Settings etc etc there is one called Windows

Under the Windows menu there is an option named 'status' - untick it.
_________________

No-one ever gets flamed for posting too much information. Conform to the PPP (Preferred Posting Protocol) and give as much information as possible, including MUD output where needed.
Reply with quote
Kheri_
Wanderer


Joined: 11 Oct 2005
Posts: 58

PostPosted: Sun Oct 23, 2005 2:41 am   
 
hmm i see it now, wow i didn't look there.
unclick, untick? well ok i unclicked, or unticked it
was real useful :)
really appreciate the help.
Thank you!
Reply with quote
Slaem
Apprentice


Joined: 20 Sep 2005
Posts: 135

PostPosted: Sun Oct 23, 2005 2:44 am   
 
#STW off

will close the Status Window.
_________________
Show your love.
Support Zugg Software!
Donate to zugg@zuggsoft.com with PayPal Send Money.
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