Oh, one other timer idea that I forgot to mention.

I could easily add something to indicate whether or not a timer is 
currently in use (or is there something like that already?)

Then I could add a command like:

  new timer

which would look through the list and return the first unused timer 
number. If there are no free timers it would do

  allocate timer(last available timer + 1)

and return that.

This would not interfere with any existing scripts that use hard-coded 
timer functions, but it would easily allow scripters to dynamically 
allocate their timer numbers and store them in global variables, rather 
than having to hard-code them.

---
James
_______________________________________________
Ohrrpgce mailing list
[email protected]
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org

Reply via email to