Battle Commands - sorry for beating a dead horse

Hey all.  So I've inserted Yanfly's entire script (https://github.com/Archeia/YEARepo/blob/master/Battle/Battle_Command_List.rb) into a Materials slot in my script editor. Hit Apply, OK. Done.

To test out whether it works, I then go to my first Actor's notebox in the database and enter:

<command list>

attack

</command list>

 

 

Hit Apply.  Go to the Troops tab and begin a Battle test.  I'm still seeing Attack, Special, Guard, Items as options.

 

Why isn't the change working????

 

 

 

Furthermore:

Before trying Yanfly's script I tried editing the Script Window_ActorCommand to achieve the same thing.  I tried doing the following:

 

 #--------------------------------------------------------------------------

  # * Create Command List

  #--------------------------------------------------------------------------

  def make_command_list

    return unless @actor

    add_attack_command

    #add_skill_commands

    #add_guard_command

    #add_item_command

    end

 

Also didn't work.

 

Again, what am I doing wrong?  Is it because I'm using the Battle tester??? This is driving me insaneeeeee
Looking at the script, the instruction appears to be 

<command list>

"ATTACK"

</command list>

 

My understanding is that when the instruction says to insert a string, that means you have to use quotes.  It's the quotes which turns text into a string.  I have used uppercase because that is what is written in the script, and Ruby is case sensitive.
Works like a charm! 

I feel so silly (durp!) but thank you for teaching me 🙂

Original thread: https://forums.rpgmakerweb.com/threads/battle-commands-sorry-for-beating-a-dead-horse.41523/