Answer the question
In order to leave comments, you need to log in
Is there a pattern for executing instructions from a file?
For the second week I have been looking for a solution for reading the script and its subsequent execution.
The bot will read the script and perform actions according to the instructions.
I sketched a diagram, how I imagine it.
Well, something like this.
function process () {
state = bot[action](arguments)
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question