[Vx Ace] Trouble with Victor's Command replace script

Hello, I have a trouble using Victor direct command and command replace scripts, you'll see, I'm using a direct skill in certain actor, using this tag:

<direct skill: 129>

Then I put this notetag to replace it with the command "Berseker rage", only if the user has the state number 26, like is showed in this notetag

<command replace: Awakening>
name: Berseker rage;
type: skill;
ext: 1;
condition; a.state?(26);
</command replace>
<direct skill: 129>

The trouble is the "Awakening" command is replaced with Berseker rage inmediatly, even if the user doesn't have the state 26

Victor Engine - Command Replace.txtVictor Engine - Direct Commands.txt
You have typos in that sequence. Unfortunately I can't tell if the typos are in the original project or ifthey happened when you wrote it new here - that's why we prefer screenshots of the settings.


That said, the condition can't work like this because you have a ; instead of a : behind it, please check if the spelling in your project is correct.


Second: is "Berserker Rage" a skill or a skill group/skill type?


Because the tag above sets this for a skill type, not for a direct skill


And make sure that you have no spelling errors in your names - is that skill intentionally misspelled?
Well, the ; was indeed the trouble! n_n'

I copied Victor's example in my project and I modified, it had a ; instead : and I wasn't cautious enough to check the writing of it

Well, that solves the trouble, thanks a lot

Original thread: https://forums.rpgmakerweb.com/threads/vx-ace-trouble-with-victors-command-replace-script.40125/