Message on win/lose minecraft

Does anybody know how i would go about making a script that would print a message in the arduino console? If so, can you explain how? :o :confused:

Try this link: