Description Usage Arguments Details Value Examples
Listen for "Who am I" on minecraft chat, and respond with the player's entity ID.
1 |
delay |
Delay (in seconds) between checks of the chat messages |
max_time |
Maximum amount of time (in seconds) before quitting. |
Uses base::grepl()
, ignoring case, to look for
"who am I" in the chat messages, and prints the player ID of
any player who posts a chat message containing that phrase.
A vector of player IDs
1 2 | #' will run for 15 seconds
mc_whoami(max_time=15)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.