Er event handler or signal handler? ROM, in essense, is already an event handler. All interfaces with humans can be considered an event handler.
A signal handler to interuppt what you are doing to execut code is more what I think you are talking about to garrentee 5 second exact actions. PULSE_PER_SECOND * 5 in update.c would solve it as well except its pretty much a subjective PULSE_PER_SECOND. Chris ----- Original Message ----- From: "Steven Radziul" <[EMAIL PROTECTED]> To: "TsR" <[EMAIL PROTECTED]> Cc: <[email protected]> Sent: Wednesday, June 04, 2003 8:31 PM Subject: Re: update > You might want to install a event handler. There are several of them out > there, and some implemented into codebases to see what they are about. Give > them a look. > > > > ----- Original Message ----- > From: "TsR" <[EMAIL PROTECTED]> > To: <[email protected]> > Sent: Wednesday, June 04, 2003 5:09 PM > Subject: update > > > > Hey list, > > How can I make something execute in like every 5 secs not each tick ? > > Where do I put my code ? > > Tnx. > > > > The Shadow Rising WoT RP based PK MUD > > tsr.postit.lv 1234 > > > > > > -- > > ROM mailing list > > [email protected] > > http://www.rom.org/cgi-bin/mailman/listinfo/rom > > > -- > ROM mailing list > [email protected] > http://www.rom.org/cgi-bin/mailman/listinfo/rom > >

