&cmd-+sweep Globals=$+sweep:@pemit %#=[setq(0,iter(lexits(%l),switch(name(##),O,##),,))][switch(%q0,,ansi(hr,This command can only be used in rooms with an 'o' out exit.),ansi(hg,You sweep disconnected players out of the room.)[iter(lcon(%l),switch(and(isplayer(##),not(hasflag(##,connected))),1,tel(##,%q0)))])]
&help_+Sweep Globals=This command sweeps disconnected players out of the room. It should only be used on private locations like residences and TP Rooms.%R%R[ansi(h,+sweep)]
Request: Add +sweep command to globals
&cmd-+sweep Globals=$+sweep:@pemit %#=[setq(0,iter(lexits(%l),switch(name(##),O,##),,))][switch(%q0,,ansi(hr,This command can only be used in rooms with an 'o' out exit.),ansi(hg,You sweep disconnected players out of the room.)[iter(lcon(%l),switch(and(isplayer(##),not(hasflag(##,connected))),1,tel(##,%q0)))])]
&help_+Sweep Globals=This command sweeps disconnected players out of the room. It should only be used on private locations like residences and TP Rooms.%R%R[ansi(h,+sweep)]