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
Delphi03
Novice


Joined: 20 Aug 2004
Posts: 37
Location: Illinois

PostPosted: Tue Jan 31, 2006 9:57 pm   

#ALARM Help
 
Hello.

This might have already been asked, but I couldn't find it anywhere on a quick search through the forums.

I'm wondering if there is anyway to set an Alarm type trigger that will go off faster than once every second. I would like to make an alarm that sends a string to the mud every 1/2 second or so. Is this possible?

Thanks in advance
Reply with quote
icedsun
Novice


Joined: 20 Jan 2006
Posts: 45
Location: Minnesota

PostPosted: Tue Jan 31, 2006 10:28 pm   
 
Dare I ask?!? Why?
_________________
"Build a man a fire and he's warm for a night. Light a man on fire and he's warm for the rest of his life." --My Mom
Reply with quote
Delphi03
Novice


Joined: 20 Aug 2004
Posts: 37
Location: Illinois

PostPosted: Tue Jan 31, 2006 10:36 pm   
 
I'd like to be able to repeatedly enter a single command to lure creatures into a room as well as attack them when they enter. While this *can* be done using an alarm that triggers every second, it makes the luring stage (when monsters aren't entering) very slow.

If I were able to send the command every 1/2 second or so, I would be sending it slow enough to not hit to mud's built-in spam filter as well as maximize the speed at which I was hunting.

Granted, the idea is well and good, unless zmud can't do this.

I'm using the latest version of the client, registered and all that jazz.
Reply with quote
icedsun
Novice


Joined: 20 Jan 2006
Posts: 45
Location: Minnesota

PostPosted: Tue Jan 31, 2006 10:44 pm   
 
#ALARM "Silly" -0:00:00.50 {#SHOW Whoo hoo look at me scroll.}
_________________
"Build a man a fire and he's warm for a night. Light a man on fire and he's warm for the rest of his life." --My Mom
Reply with quote
Delphi03
Novice


Joined: 20 Aug 2004
Posts: 37
Location: Illinois

PostPosted: Wed Feb 01, 2006 1:24 am   
 
Sorry, no. That does not work. I tried testing that exactly. When 'enabled' it did nothing. I disabled/enabled. Nothing.
Reply with quote
icedsun
Novice


Joined: 20 Jan 2006
Posts: 45
Location: Minnesota

PostPosted: Wed Feb 01, 2006 3:42 am   
 
I used it and it works perfect.... Try typing it directly at the zmud command line. I even tested it at .10 and it goes by at tenths of a second.
_________________
"Build a man a fire and he's warm for a night. Light a man on fire and he's warm for the rest of his life." --My Mom
Reply with quote
Delphi03
Novice


Joined: 20 Aug 2004
Posts: 37
Location: Illinois

PostPosted: Wed Feb 01, 2006 5:02 am   
 
I guess I needed to be 'connected'. It does indeed work then. I don't suppose there is a way to make this work while not connected?
Reply with quote
icedsun
Novice


Joined: 20 Jan 2006
Posts: 45
Location: Minnesota

PostPosted: Wed Feb 01, 2006 5:04 am   
 
Someone else will probably have to answer that because I really am not sure. I know that since it's with the minus sign (-) that means it is using the Connect Time to fire the alarm. ie: probably why you have to be connected in order for it to work. I'm not sure if there's any way to do it... Somebody who's smart should answer!!!!
_________________
"Build a man a fire and he's warm for a night. Light a man on fire and he's warm for the rest of his life." --My Mom
Reply with quote
NowhereMan
Beginner


Joined: 09 Dec 2004
Posts: 10

PostPosted: Wed Feb 01, 2006 7:56 pm   
 
not sure why you would need this when you're not connected, but here's one way:

you can use a temporary alarm that will execute your command, then create another temporary alarm with same command.
e.g.
#ALIAS alarm {%-1;#ALARM +0.1 {alarm %-1}}

now if i type
alarm #SHO %time(m:s.z)

i see something like:

2:10.132
2:10.232
2:10.332
2:10.432
2:10.532
2:10.632
2:10.733
2:10.833
...
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