LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Fri Aug 30, 2002 12:40 am |
Use a trigger (#TRIGGER) to catch the people from the who list and add (#ADDITEM) each of them to a list variable.
Use another trigger to catch the logon messages and add new people to your list.
And use a third trigger to catch the logoff messages and remove (#DELITEM) people from the list.
Make a class (#CLASS), with option "disable when connecting to a MUD". Make a macro (#KEY) which will set a timer variable (#VAR) to a number between 2 and 5 (use the %random function), and enable the class (#T+). Put an alarm in the class (#ALARM) which will fire every second, and check your timer variable (#IF) and disable the class (#T-) when the variable is 0. If the variable is greater than 0, it will subtract 1 from it (#ADD) and trace the designated person from your list using the %item function and a counting variable (see below).
Make another macro which will check a counting variable against the number of items in your list (%numitems function), set the variable to 1 if it's equal to or greater than the number of items, and add 1 to it if it's less.
There's the ideas you asked for. Have fun.
LightBulb
Senior Member |
|