From 4fdd036010f829562aff037efaf9e34ccbb8fe87 Mon Sep 17 00:00:00 2001 From: Matt Brockman Date: Fri, 15 Jan 2021 09:22:22 -0800 Subject: [PATCH] evaluationBot usage --- examples/evaluationBots.js | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 examples/evaluationBots.js diff --git a/examples/evaluationBots.js b/examples/evaluationBots.js new file mode 100644 index 0000000..bf5c1c3 --- /dev/null +++ b/examples/evaluationBots.js @@ -0,0 +1,30 @@ + +// Checkout the repo examples to get an idea of other ways you can use scripting +// https://github.com/latitudegames/Scripting/blob/master/examples + +//CONTEXT MODIFIER +const modifier = (text) => { + state.evaluationBot = 'JudgeBot' +return { text } +} + +// Don't modify this part +modifier(text) + + +// OUTPUT MODIFIER +const modifier = (text) => { + console.log(info) +return { text } +} + +// Don't modify this part +modifier(text) + + + +/* + AVAILABLE BOTS + + +*/ \ No newline at end of file