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
Kotte
Newbie


Joined: 27 Sep 2006
Posts: 6

PostPosted: Fri Nov 10, 2006 11:12 pm   

am/pm, if's and subs...
 
This is the output:
    According to the Dunadan calendar, it is:
    3pm on Hevensday, the 28th of Winterfilth, Year 2868 of the Third Age.


And this is the Months names and dusk/dawn.

Code:
Season    Westron       Sindarin        Dawn    Dusk
----------------------------------------------------
Winter    Afteryule     Narwain         8 am    6 pm
          Solmath       Ninui           9 am    5 pm
          Rethe         Gwaeron         8 am    6 pm
Spring    Astron        Gwirith         7 am    7 pm
          Thrimidge     Lothron         7 am    8 pm
          Forelithe     Norui           6 am    8 pm
Summer    Afterlithe    Cerveth         5 am    9 pm
          Wedmath       Urui            4 am   10 pm
          Halimath      Ivanneth        5 am    9 pm
Autumn    Winterfilth   Narbeleth       6 am    8 pm
          Blotmath      Hithui          7 am    8 pm
          Foreyule      Birithron       7 am    7 pm


I want to substitute the line that says what time, day, month and year it is, evaluating am/pm into 24hour clock, skipping year and adding a note when dawn/dusk is. Preferably it should be one trigger that triggers on all 24 names of the months, with 12 if's?
Reply with quote
Kotte
Newbie


Joined: 27 Sep 2006
Posts: 6

PostPosted: Sun Nov 12, 2006 7:52 pm   
 
*bump*
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