Learn R Programming

miner (version 0.2.2)

chatPost: Post to chat

Description

Post a message to Minecraft chat.

Usage

chatPost(text)

Arguments

text

A character string with the message you would like to post.

Examples

Run this code
# NOT RUN {
chatPost('foobar')

## Post the first few digits of pi to chat
for (p in strsplit(as.character(round(pi, 4)), '')[[1]]) {
    chatPost(p)
  }
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab