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


Joined: 27 Apr 2008
Posts: 2

PostPosted: Wed Jul 30, 2008 3:52 pm   

.
 
...


Last edited by EternalNightPlayer on Tue Aug 19, 2008 3:11 am; edited 3 times in total
Reply with quote
Guinn
Wizard


Joined: 03 Mar 2001
Posts: 1127
Location: London

PostPosted: Wed Jul 30, 2008 4:10 pm   
 
#ALIAS influencePurchase {#ALARM influencePurchase +3600 {#BEEP;#SAY You may now purchase again!}}

What that does is wait for you to type influencePurchase, then when you've typed that it will wait for 3600 seconds (1hr) and then beep and echo to the screen 'You may now purchase again!' at the same time.
If within that hour you type influencePurchase again then it will reset the timer to an hour.
_________________
CMUD Pro, Windows Vista x64
Core2 Q6600, 4GB RAM, GeForce 8800GT
Because you need it for text... ;)
Reply with quote
Qaiia
Wanderer


Joined: 06 Apr 2007
Posts: 59

PostPosted: Wed Jul 30, 2008 7:07 pm   
 
If you have the exact text from the act of purchasing influence, you can make a trigger to call this alias, too.
_________________
Citrus: The Juicy Alternative
Reply with quote
ralgith
Sorcerer


Joined: 13 Jan 2006
Posts: 715

PostPosted: Wed Jul 30, 2008 7:24 pm   
 
Or... use this alias which sends the command to the MUD and sets the above timer as well...

#ALIAS IP {Influence Purchase;#ALARM IPALARM +3600 {#SPEAK {You may now purchase influence again!}}} // MudReader Version

#ALIAS IP {Influence Purchase;#ALARM IPALARM +3600 {#BEEP;#SAY You may now purchase influence again!}} // Non-MudReader Version

I recommend installing the MudReader Plugin and using that version :)
_________________
CrossOver: Windows Compatibility on Mac and Linux CMUD Advocate
Reply with quote
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Wed Jul 30, 2008 7:38 pm   
 
If you don't want to have to reset the timer if you type the alias before the hour is up, you could also do this:

#ALIAS IP {#IF %trigger("ip") {#SAY You purchased less than an hour ago!} {#ALARM "ip" +3600 {#BEEP;#SAY You may purchase influence again!}}

Hope that helps!

Charneus
Reply with quote
ralgith
Sorcerer


Joined: 13 Jan 2006
Posts: 715

PostPosted: Wed Jul 30, 2008 9:26 pm   
 
Good point Charn, that check could be incorporated into my versions as well.
_________________
CrossOver: Windows Compatibility on Mac and Linux CMUD Advocate
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