Usage:
Bring the socket associated with world into the foreground. The world must already be connected with the /connect command. Any lines that arrived while the socket was in the background will be displayed, unless the -q option is given.
/fg Options:
/fg returns 0 on failure, nonzero otherwise.
If successful, /fg invokes the WORLD hook, which by default echoes "---- World world ----" or "---- No world ----".
/bg puts all sockets in the background, and is equivalent to /fg -n.
See: /connect, worlds, sockets