Before I attempt to implement the method into my libcod, I have a quick question;

Why is it
Code:
void PlayerCmd_renamebot(int a1) {
instead of
Code:
void PlayerCmd_renamebot(string newname) {
since you do
Code:
players[i] renamebot(newname);