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
Loto
Apprentice


Joined: 05 May 2003
Posts: 194

PostPosted: Wed Sep 03, 2003 11:55 pm   

Can I Make this scrp display in...
 
I got this script off of the finished MD scripts forum...

#CLASS {Time}
#ALIAS ADDTODATE {#add DateMinute 12;#if (@DateMinute >= 60) {#add DateHour 1;#var DateMinute "00"}}
#ALIAS UPDATEDATE {#var DateYear %3;#var DateDay %1;#if (%2 = "Sarapin") { #var DateMonth 1};#if (%2 = "Daedalan") { #var DateMonth 2};#if (%2 = "Aeguary") { #var DateMonth 3};#if (%2 = "Miraman") { #var DateMonth 4};#if (%2 = "Scarlatan") { #var DateMonth 5};#if (%2 = "Ero") { #var DateMonth 6};#if (%2 = "Valnuary") { #var DateMonth 7};#if (%2 = "Lupar") { #var DateMonth 8};#if (%2 = "Phaestian") { #var DateMonth 9};#if (%2 = "Chronos") { #var DateMonth 10};#if (%2 = "Glacian") { #var DateMonth 11};#if (%2 = "Mayan") { #var DateMonth 12}}
#VAR DateYear {343}
#VAR DateDay {15}
#VAR DateHour {5}
#VAR DateMinute {36}
#VAR DateMonth {9}
#TRIGGER {It is now the (%d)* of (*), (*) years after} {#var DateHour 0;#var DateMinute "00";UPDATEDATE %1 %2 %3;#untrigger 30 Time;#alarm 30 {ADDTODATE} Time}
#ALARM 30 {ADDTODATE}
#TRIGGER {Today is the (%d)* of (*), (*) years after} {UPDATEDATE %1 %2 %3}
#TRIGGER {With nary a whisper nor a sigh, rosy-fingered dawn creeps into the land,} {#var DateHour 4;#var DateMinute 48;#untrigger 30 Time;#alarm 30 {ADDTODATE} Time}
#TRIGGER {Casting off her final fetters, the luminous lady awakens fully, shedding her} {#var DateHour 8;#var DateMinute 48;#untrigger 30 Time;#alarm 30 {ADDTODATE} Time}
#TRIGGER {Attaining her fullest glory, the shining sun sits upon her throne at the apex} {#var DateHour 12;#var DateMinute "00";#untrigger 30 Time;#alarm 30 {ADDTODATE} Time}
#TRIGGER {Balancing on the rim of the world, Lady Sol prepares to enter her daily} {#var DateHour 18;#var DateMinute "00";#untrigger 30 Time;#alarm 30 {ADDTODATE} Time}
#TRIGGER {The stars wink into existence, familiar constellations illuminating the night} {#var DateHour 20;#var DateMinute 48;#untrigger 30 Time;#alarm 30 {ADDTODATE} Time}
#STAT {Achaean Time and Date = @DateMonth/@DateDay/@DateYear @DateHour:@DateMinute}
#CLASS 0

Is there a way to make it dispay somewhere other than the status bar? my status bar is filled up with my ratting script when its turned on...
Reply with quote
megamog75
Enchanter


Joined: 20 Nov 2002
Posts: 627
Location: USA

PostPosted: Thu Sep 04, 2003 4:06 pm   
 
where do you whant it?

#stat at the end of the scipt is what you place somewhere else.
chech the help files in hit points in you buttons.

trigger to variable and the name of a button is a variable so when the trigger fires the button is updated, thus using the #stat line in the above script you could make a button to hold the information.
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