messenger
Vars | |
invisible | Whether the user is invisible to the message list. |
---|---|
last_text | great wisdom from PDA.dm - "no spamming" (prevents people from spamming the same message over and over) |
last_text_everyone | even more wisdom from PDA.dm - "no everyone spamming" (prevents people from spamming the same message over and over) |
mime_mode | Whether or not we're in a mime PDA. |
ringtone | The current ringtone (displayed in the chat when a message is received). |
saved_chats | An asssociative list of chats we have started, format: chatref -> pda_chat. |
selected_image | Selected photo for sending purposes. |
sending_and_receiving | Whether or not we're sending and receiving messages. |
sending_virus | Whether or not we're sending (or trying to send) a virus. |
sort_by_job | Whether or not we're sorting by job. |
spam_mode | Whether this app can send messages to all. |
viewing_messages_of | Whose chatlogs we currently have open. If we are in the contacts list, this is null. |
Procs | |
Topic | topic call that answers to people pressing "(Reply)" in chat |
can_send_everyone_message | Checks if the person can send an everyone message |
create_chat | Creates a chat and adds it to saved_chats. Supports fake users. Returns the newly created chat. |
find_chat_by_recipient | Gets the chat by the recipient, either by their name or messenger ref |
get_messengers | Gets the list of available messengers |
get_picture_assets | Gets all currently relevant photo asset keys |
quick_reply_prompt | Brings up the quick reply prompt to send a message. |
sanitize_pda_message | Returns a message input, sanitized and checked against the filter |
send_message | Sends a message to targets via PDA. When sending to everyone, set everyone to true so the message is formatted accordingly |
send_message_to_all | Helper proc that sends a message to everyone |
send_rigged_message | Sends a rigged message that explodes when the recipient tries to reply or look at it. |
set_ringtone | Set the ringtone if possible. Also handles encoding. |
update_pictures_for_all | Sends new datum/picture assets to everyone |
Var Details
invisible
Whether the user is invisible to the message list.
last_text
great wisdom from PDA.dm - "no spamming" (prevents people from spamming the same message over and over)
last_text_everyone
even more wisdom from PDA.dm - "no everyone spamming" (prevents people from spamming the same message over and over)
mime_mode
Whether or not we're in a mime PDA.
ringtone
The current ringtone (displayed in the chat when a message is received).
saved_chats
An asssociative list of chats we have started, format: chatref -> pda_chat.
selected_image
Selected photo for sending purposes.
sending_and_receiving
Whether or not we're sending and receiving messages.
sending_virus
Whether or not we're sending (or trying to send) a virus.
sort_by_job
Whether or not we're sorting by job.
spam_mode
Whether this app can send messages to all.
viewing_messages_of
Whose chatlogs we currently have open. If we are in the contacts list, this is null.
Proc Details
Topic
topic call that answers to people pressing "(Reply)" in chat
can_send_everyone_message
Checks if the person can send an everyone message
create_chat
Creates a chat and adds it to saved_chats. Supports fake users. Returns the newly created chat.
find_chat_by_recipient
Gets the chat by the recipient, either by their name or messenger ref
get_messengers
Gets the list of available messengers
get_picture_assets
Gets all currently relevant photo asset keys
quick_reply_prompt
Brings up the quick reply prompt to send a message.
sanitize_pda_message
Returns a message input, sanitized and checked against the filter
send_message
Sends a message to targets via PDA. When sending to everyone, set everyone
to true so the message is formatted accordingly
send_message_to_all
Helper proc that sends a message to everyone
send_rigged_message
Sends a rigged message that explodes when the recipient tries to reply or look at it.
set_ringtone
Set the ringtone if possible. Also handles encoding.
update_pictures_for_all
Sends new datum/picture assets to everyone