Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum Goto page Previous  1, 2
Zugg Posted: Tue Nov 14, 2006 11:51 pm
Events added in version 1.16
Taz
GURU


Joined: 28 Sep 2000
Posts: 1395
Location: United Kingdom

PostPosted: Tue Dec 12, 2006 8:14 pm   
 
I'm going to go out on a limb and say these weren't added yet.
_________________
Taz :)
Reply with quote
Morgal
Beginner


Joined: 06 Nov 2006
Posts: 26

PostPosted: Tue Dec 12, 2006 10:01 pm   
 
But OnTick, and OnTickWarning are both there...

Morgal
Reply with quote
crycry
Apprentice


Joined: 24 Jun 2006
Posts: 169
Location: UK - South Coast

PostPosted: Tue Dec 12, 2006 10:10 pm   
 
Another event that would be kinda useful is OnRoomExit.. just a thought. Im presuming that onRoomWalk wont cater for that as its only speedwalk.
_________________
'Life is what happens, when your too busy doing something else'

_________________

XP Pro SP2
cMud 1.24
_________________
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Tue Dec 12, 2006 10:12 pm   
 
It's simple to make your own.

#alarm 1 {#raise OnEverySecond}
#alarm **:00 {#raise OnEveryMinute}
#alarm **:00:00 {#raise OnEveryHour}

You could also add - in front of the patterns to make it OnEveryConnectedSecond or something - much easier to customise. Which might be why they aren't in in the first place.
Reply with quote
crycry
Apprentice


Joined: 24 Jun 2006
Posts: 169
Location: UK - South Coast

PostPosted: Tue Dec 12, 2006 10:21 pm   
 
is that aimed at me Fang? i have no clue how that fits in if it is :) lol sorry.. noob aura
_________________
'Life is what happens, when your too busy doing something else'

_________________

XP Pro SP2
cMud 1.24
_________________
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Tue Dec 12, 2006 10:25 pm   
 
No, to Morgal asking about time-based events :)
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
crycry
Apprentice


Joined: 24 Jun 2006
Posts: 169
Location: UK - South Coast

PostPosted: Tue Dec 12, 2006 10:31 pm   
 
lol cool.. i was feeling more noob than normal
_________________
'Life is what happens, when your too busy doing something else'

_________________

XP Pro SP2
cMud 1.24
_________________
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Tue Dec 12, 2006 11:50 pm   
 
I did not add all of the events talked about in this thread. Please see the #EVENT documentation for the events that are currently defined. More will be added over time, but not for the public version.
Reply with quote
Morgal
Beginner


Joined: 06 Nov 2006
Posts: 26

PostPosted: Tue Dec 12, 2006 11:51 pm   
 
Yes, i know how to make an alarm, but the idea is that events remove the need for the various common alarms else why would Zugg have put them in rather than just saying "Use an alarm."

Morgal
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Wed Dec 13, 2006 12:14 am   
 
Remember that this thread was created when we were initially tossing around various ideas. The EverySecond, etc event were not implemented because the alarm system is more flexible, and I was trying not to duplicate existing functionality. The main purpose of Events was to replace the old "atconnect" aliases. Firing an event every second would slow down CMUD...using Alarms is much more efficient.
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Wed Dec 13, 2006 12:16 am   
 
The impression I got was that pre-defined events were there for behaviour that couldn't be done simply by any other method - OnConnect, OnDisconnect, OnTick and the others are all examples of those. Since it's so simple to create an OnEveryXXXX event using current scripting, I'd rather CMUD didn't create one by default. It'd clog up the list of pre-defined events with ones you don't really need to have pre-defined.

EDIT: Simultaneous postin', baby. You and me. Bah-bah!
Reply with quote
Morgal
Beginner


Joined: 06 Nov 2006
Posts: 26

PostPosted: Wed Dec 13, 2006 1:13 am   
 
Right, well alarms it is. The only reason i even bothered digging it up was because i knew it had been said. Ahh well... clearly i should just learn to forget stuff.

Morgal
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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