# Enterfunc

"Matthew `GrendelFish' Dockrey" (rdockrey@comtch.iea.com)
Thu, 4 Apr 1996 16:25:45 PST

- Messages sorted by:[ date ][ thread ][ subject ][ author ]

    On Thu, 4 Apr 1996 slayer@kaiwan.com wrote:

    > At 03:04 PM 4/4/96 PST, Michael Smith wrote:
    > >Try this:
    > >
    > >who = args[1];
    > >if (length(#<whatever>.contents) == 1)
    > >suspend(60);
    > >who.location:announce_all(#<whatever>.message1)
    > >   <snip>
    > >   <snip>
    > >endif
    > >pass(who);
    > >
    > >Also make sure it's TNT
    >
    > hm but what if that person leaves and someone else enters? then it'll run
    > again and still be running from the previous one. exitfunc could of course
    > be fiddled with, though.
    >
    >

    Having suspend()s in an enterfunc is a bad idea anyway, they tend to
    mess up movetos with fancy stuff. You could always fork off a section to
    do all this, but Forks Are Naughty.