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
Dan_Bradley
Beginner


Joined: 11 Oct 2002
Posts: 21

PostPosted: Tue Mar 04, 2003 2:05 am   

Help with time edit (re posted in right forum)
 
ok i got a trigger which does, %time

Tuesday March 4, 2003 12:44:05 am


anyways, i want it to take what it says, andd get the minutes 44 and add 12 then say,

Login at 12:56 for example.. so modifying data that is displayed below what was displayed?

can this be done?

if yes, then how?
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Tue Mar 04, 2003 3:00 am   
 
Yes, get the minutes apart and add 12:
#SH Login at %time("hh"):%eval(%time("nn") + 12)

Although you'll have to make sure yourself that the hour is updated correctly if the minutes plus 12 is more than 60.

Kjata
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