Inviting a Guest - shawna-p/mysterious-messenger GitHub Wiki

Notice

These pages are out of date! The most recent version of the documentation can be found here: https://mysterious-messenger.readthedocs.io/en/stable/

This page is retained so that it can still be linked to.

Inviting a Guest

Example files to look at: tutorial_2_emails.rpy

After you've defined your guest as per Writing an Email Chain, in the chatroom or VN section that you'd like to invite the guest in, use the call:

call invite(your_guest)

where your_guest is the variable that you made when you defined the guest using

default your_guest = Guest("test", "thumbnail.png", ...)

After the chatroom or VN section is over, the player will receive the first email from that guest.