OOC:@aconnect

@aconnect is an attribute that triggers on an object when a player connects. It's best set on a player to trigger a series of commands upon connecting to the MUSH.

From the helpfiles:

 @ACONNECT
 @aconnect <object>=<action list>

 Sets the actions to be taken by <object> when a player connects to the game.
 @aconnects are triggered on connecting players, their locations (if the
 room_connects @config option is true), their zone object/objects in their
 zone master room, and objects in the Master Room.

 Note that long and spammy @aconnect messages, whether in your room or
 on a channel, are frequently found annoying by other players.

 One argument is passed to @aconnect:
 %1 = number of player connections (1 if this is an initial connect)

A good example of a @aconnect:

 @aconnect me=iwho;+bbsscan;+rumors/scan;+plot/scan


The above example will, upon connection: check your watch list (+help watch), scan the global bulletin board for unread posts (+help bboard), scan for unread rumors (+help +rumors) and check for newly posted plots (+help plots).

Another, less informative, example:

 @aconnect me=pose yawns and stretches, having just woken up.


For the best of both worlds...

 @aconnect me=pose yawns and stretches, having just woken up.;iwho;+bbscan;+rumors/scan;+plot/scan

More commands can be added provided they are separated with a semi-colon (;).

For further help, please see help action lists on the MUSH.

Retrieved from "https://www.yuriba.com/mwiki/index.php?title=OOC:@aconnect&oldid=12444"