This repository has been archived on 2025-02-27. You can view files and clone it, but cannot push or open issues or pull requests.
AIDScripting/examples/inputBot.js
2021-01-19 07:50:49 -08:00

31 lines
No EOL
639 B
JavaScript

// Checkout the repo examples to get an idea of other ways you can use scripting
// https://github.com/latitudegames/Scripting/blob/master/examples
//INPUT MODIFIER
const modifier = (text) => {
state.inputBot = 'DCStatDifficultyBot'
return { text }
}
// Don't modify this part
modifier(text)
// CONTEXT MODIFIEr
const modifier = (text) => {
console.log(info?.inputEvaluation)
return { text }
}
// Don't modify this part
modifier(text)
/*
AVAILABLE BOTS
['DCStatDifficultyBot'] - Stat, Difficulty
['InputDCattributeBot'] - DC, Attrbute
['SimplePossibilityBot'] - Possibility 1, Possibility 2
*/