mob/verb/MakeVote()
var/VQuestion=input("What do you want the question to be?") as null|text
Questions += VQuestion
var/amount = input("How many responses do you want there to be?") as null|num
for(var/i = 1; i<amount; i++)
var/list/Option
Option += input("What do you want option number [i] to be?") as null|text
Questions[VQuestion] = Option //This is the error line
Problem description: When I compile, it gives me no errors, but when I run it, it stops the proc after asking what they want option number [i] to be, for the first time. The error is bad index and it tells me the culprit is the appointed line. I've tried making it..
Questions["[VQuestion]"] = ...
But that just seems rather redundant and it didn't help. So I don't know what to do. Perhaps I'm making a newb mistake. I make a bunch of those without noticing it sometimes.. Sorry.