Hello! Whenever I try to use your plugin, it says:
Syntax Error
Unexpected Number
Any ideas on how I can fix this?
There is an syntax error inside the script call. You have missed the double dots (:) after the variable declaration. Moreover, you have called the variable "option" but you have assigned to the method "options". So, it should work good if you correct the code this way:
var options = {
placeholder: 'What is your name?',
max_characters: 10,
variable : 11
}
EDIT :
You have assigned variable 11, but you're calling in the variable "name" the variable of ID 5. The correct format would be :
var name = $gameVariables.value(11)