How can i set the character ID:

Code:
Private Sub Form_Load()
Form1.Agent1.Characters("Wizard").Commands.Add "Exit", "Quit", "(Quit|Exit|End)", True, True

End Sub
it gives me an eroro sayind that the ID is not valid.Pelas help me, bacause i have to present my program with a least of ten function by monday.

numibesi