|
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
|
Posted: Tue Dec 12, 2006 8:14 pm |
I'm going to go out on a limb and say these weren't added yet.
|
|
_________________ Taz :) |
|
|
|
Morgal Beginner
Joined: 06 Nov 2006 Posts: 26
|
Posted: Tue Dec 12, 2006 10:01 pm |
But OnTick, and OnTickWarning are both there...
Morgal |
|
|
|
crycry Apprentice
Joined: 24 Jun 2006 Posts: 169 Location: UK - South Coast
|
Posted: 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
_________________ |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: 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. |
|
|
|
crycry Apprentice
Joined: 24 Jun 2006 Posts: 169 Location: UK - South Coast
|
Posted: 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
_________________ |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Tue Dec 12, 2006 10:25 pm |
No, to Morgal asking about time-based events :)
|
|
|
|
crycry Apprentice
Joined: 24 Jun 2006 Posts: 169 Location: UK - South Coast
|
Posted: 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
_________________ |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: 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.
|
|
|
|
Morgal Beginner
Joined: 06 Nov 2006 Posts: 26
|
Posted: 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 |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: 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.
|
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: 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! |
|
|
|
Morgal Beginner
Joined: 06 Nov 2006 Posts: 26
|
Posted: 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 |
|
|
|
|
|