|
EternalNightPlayer Newbie
Joined: 27 Apr 2008 Posts: 2
|
Posted: Wed Jul 30, 2008 3:52 pm
. |
...
|
|
Last edited by EternalNightPlayer on Tue Aug 19, 2008 3:11 am; edited 3 times in total |
|
|
|
Guinn Wizard
Joined: 03 Mar 2001 Posts: 1127 Location: London
|
Posted: 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... ;) |
|
|
|
Qaiia Wanderer
Joined: 06 Apr 2007 Posts: 59
|
Posted: 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.
|
|
|
|
ralgith Sorcerer
Joined: 13 Jan 2006 Posts: 715
|
Posted: 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 |
|
|
|
charneus Wizard
Joined: 19 Jun 2005 Posts: 1876 Location: California
|
Posted: 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 |
|
|
|
ralgith Sorcerer
Joined: 13 Jan 2006 Posts: 715
|
Posted: 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 |
|
|
|
|
|