+
+
+(define* (room-tell-room room text #:key exclude wait)
+ (define who-to-tell (gameobj-occupants room #:exclude exclude))
+ (for-each
+ (lambda (tell-me)
+ ;; @@: Does anything really care?
+ (define deliver-method
+ (if wait
+ <-wait
+ <-))
+ (deliver-method tell-me 'tell
+ #:text text))
+ who-to-tell))
+
+(define* (room-act-tell-room room message #:key text exclude wait)
+ "Tell the room some messages."
+ (room-tell-room room text
+ #:exclude exclude
+ #:wait wait))
+
+(define* (room-cmd-say room message #:key phrase)
+ "Command: Say something to room participants."
+ (define player-name
+ (mbody-val (<-wait (message-from message) 'get-name)))
+ (define message-to-send
+ `((b "<" ,player-name ">") " " ,phrase))
+ (room-tell-room room message-to-send))
+
+(define* (room-cmd-emote room message #:key phrase)
+ "Command: Say something to room participants."
+ (define player-name
+ (mbody-val (<-wait (message-from message) 'get-name)))
+ (define message-to-send
+ `((b "* " ,player-name) " " ,phrase))
+ (room-tell-room room message-to-send))
+
+(define* (room-announce-entrance room message #:key who-entered)
+ (define player-name
+ (mbody-val (<-wait who-entered 'get-name)))
+ (define message-to-send
+ (format #f "~a enters the room.\n" player-name))
+ (room-tell-room room message-to-send
+ #:exclude who-entered))