Fixed buggy /command parameter parsing in script parser.
Replaced std::cout with qDebug() and replaced all .at(X) with [X].