Functions Documentation |
|
Name |
plyRedirectMessage |
Syntax |
(plyRedirectMessage player condition) |
Argument List |
player: The player.
condition: If Nil makes any future plyMessages display during flight, otherwise sets the redirect message to "" and makes any future plyMessages cat onto the redirect message. |
Returns |
condition: True |
Category |
player, message
|
Description |
Controls the activity of plyMessage and if the condition is true clears the stored redirect messages. |
Example |
(block Nil
(plyRedirectMessage gplayer True)
(plyMessage gplayer "This string will be stored for later use")
(plyMessage gplayer "cat example.")
(plyGetRedirectMessage gplayer)
) Returns the string "This string will be stored for later usecat example.". |
Comment |
Interesting function that is helpful in storing messages for later display like when you are in a dockscreen. |