[VX] Custom Commands

Thanks for the Devour script.

I have a new request (if it's not too much trouble):

Name: Jump
Type: Battle
Description: Character jumps into the air, next turn descends and attacks the foe
Related Scripts: Haven't seen one.

I'm not sure if I even need a script for this, but better to be safe than sorry.
@Reliez
Quote:
Hi there, I was wondering if you could make a battle script for me. It might be a bit much to ask for, especially the second part, which if it's too complex, can be omitted.

Name: Scan/Sketch
Type: Battle
Description:
This goes hand-in-hand with the Beastiary. Basically, when an actor uses a skill from the skills menu, let's say scan, it'll add the enemy into the Beastiary book instead of just from encountering them in battle and automatically adding them from encountering them, and if possible reveal the monsters Remaining Hp/Mp, weaknesses, and perhaps a little "thought" or message which could be set in the script and could show up in the beastiary as well.
(If you've ever played Super Mario RPG, it's sorta of like Mallow's Psychopath skill)

Related Scripts:
Dargor's Beastiary


Unless you want Scan or Sketch to be a battle command, I won't do that. It's more a Skill request than a Command request.

Quote:
Oh, I have one more question/request!
Sorry if this is pushing it. . .
But for your Skill Draw Script, is there any way to have only selected actors have limited skill usage?
I seems that if you use it long enough your other team members will run out of skills to use, since it's limited to 99 uses.
So basically I'm just asking if theres away to have the Skill Draw Script effect only selected actors, but everybody have unlimited Skill Usage instead of the max of 99 uses like they would normally have on the default battle skill system? And is there away to keep learned skills on the actor unlimited but the skills drawn limited by the number drawn?


This has nothing to do with my offer. However, this feature will be implemented in the Draw script soon.

@wsensor
Quote:
umm actually for Reliez request
would it not be better to ask if he can read the "Thought" from the monsters note information? that way you do not have to change the script for that information and if you want it changed just update it through the notes on the monsters info


That's a good idea, for the bestiary script :thumb:

@Chronnopro
Quote:
are you still taking request? if its possible i need to take off party command and put the command "run" to the actor command window...


I will stop taking requests in 2 days. (Sunday 12:00 PM)

@Ryuzaki
Quote:
I have a new request (if it's not too much trouble):

Name: Jump
Type: Battle
Description: Character jumps into the air, next turn descends and attacks the foe
Related Scripts: Haven't seen one.


I can do that but I don't see the point of having a Jump command, unless you're using a side-view battle system. And if you're using this kind of CBS, then I will not do the animated sprite part. If you're using the DBS or any front_view battle system, then it would only cast a Jump skill... Quite pointless in a front-view battle system.

Take care!
-Dargor
Alright then. Feel free to ignore my request.
Dargor wrote:
@Reliez
Quote:
Hi there, I was wondering if you could make a battle script for me. It might be a bit much to ask for, especially the second part, which if it's too complex, can be omitted.

Name: Scan/Sketch
Type: Battle
Description:
This goes hand-in-hand with the Beastiary. Basically, when an actor uses a skill from the skills menu, let's say scan, it'll add the enemy into the Beastiary book instead of just from encountering them in battle and automatically adding them from encountering them, and if possible reveal the monsters Remaining Hp/Mp, weaknesses, and perhaps a little "thought" or message which could be set in the script and could show up in the beastiary as well.
(If you've ever played Super Mario RPG, it's sorta of like Mallow's Psychopath skill)

Related Scripts:
Dargor's Beastiary


Unless you want Scan or Sketch to be a battle command, I won't do that. It's more a Skill request than a Command request.

Quote:
Oh, I have one more question/request!
Sorry if this is pushing it. . .
But for your Skill Draw Script, is there any way to have only selected actors have limited skill usage?
I seems that if you use it long enough your other team members will run out of skills to use, since it's limited to 99 uses.
So basically I'm just asking if theres away to have the Skill Draw Script effect only selected actors, but everybody have unlimited Skill Usage instead of the max of 99 uses like they would normally have on the default battle skill system? And is there away to keep learned skills on the actor unlimited but the skills drawn limited by the number drawn?


This has nothing to do with my offer. However, this feature will be implemented in the Draw script soon.

@wsensor
Quote:
umm actually for Reliez request
would it not be better to ask if he can read the "Thought" from the monsters note information? that way you do not have to change the script for that information and if you want it changed just update it through the notes on the monsters info


That's a good idea, for the bestiary script :thumb:

@Chronnopro
Quote:
are you still taking request? if its possible i need to take off party command and put the command "run" to the actor command window...


I will stop taking requests in 2 days. (Sunday 12:00 PM)

@Ryuzaki
Quote:
I have a new request (if it's not too much trouble):

Name: Jump
Type: Battle
Description: Character jumps into the air, next turn descends and attacks the foe
Related Scripts: Haven't seen one.


I can do that but I don't see the point of having a Jump command, unless you're using a side-view battle system. And if you're using this kind of CBS, then I will not do the animated sprite part. If you're using the DBS or any front_view battle system, then it would only cast a Jump skill... Quite pointless in a front-view battle system.

Take care!
-Dargor


Yeah, a battle command would be more than fine! :]
idea: post all commands you make at the first post. (so no one should search)
@Chronnopro 
Here's your Run command
Run Command Show
#==============================================================================
# ** Custom Battle Commands - Run
#------------------------------------------------------------------------------
#   © Dargor, 2008
#  01/06/08
#  Requested by Chronnopro
#==============================================================================

# Run vocabulary
Vocab::Run = 'Run'
Vocab::RunStart = "%s has started to escape!"
Vocab::RunFailure   = "However, %s was unable to escape!"

# Run Command Customization Module
module CBC_Run
  # Actors with the Run command
  Actors = [1,2,3,4]
  # Is the party escape command enabled?
  Party_Escape = false
end

#==============================================================================
# ** Game_System
#------------------------------------------------------------------------------
#  This class handles system-related data. Also manages vehicles and BGM, etc.
# The instance of this class is referenced by $game_system.
#==============================================================================

class Game_System
  #--------------------------------------------------------------------------
  # * Alias Listing
  #--------------------------------------------------------------------------
  alias dargor_vx_cbcrun_system_initialize initialize
  #--------------------------------------------------------------------------
  # * Object Initialization
  #--------------------------------------------------------------------------
  def initialize
    dargor_vx_cbcrun_system_initialize
    unless CBC_Run::Party_Escape
      remove_party_command(Vocab.escape)
    end
  end
end

#==============================================================================
# ** Game_Actor
#------------------------------------------------------------------------------
#  This class handles actors. It's used within the Game_Actors class
# ($game_actors) and referenced by the Game_Party class ($game_party).
#==============================================================================

class Game_Actor < Game_Battler
  #--------------------------------------------------------------------------
  # * Alias Listing
  #--------------------------------------------------------------------------
  alias dargor_vx_cbcrun_actor_setup setup
  #--------------------------------------------------------------------------
  # * Setup
  #     actor_id : actor ID
  #--------------------------------------------------------------------------
  def setup(actor_id)
    dargor_vx_cbcrun_actor_setup(actor_id)
    # Add battle commands
    if [1,2,3,4].include?(@actor_id)
      # Add 'Run' command
      add_command(@commands.size, Vocab::Run)
    end
  end
end

#==============================================================================
# ** Game_Party
#------------------------------------------------------------------------------
#  This class handles the party. It includes information on amount of gold
# and items. The instance of this class is referenced by $game_party.
#==============================================================================

class Game_Party < Game_Unit
  #--------------------------------------------------------------------------
  # * Alias Listing
  #--------------------------------------------------------------------------
  alias dargor_vx_cbcrun_party_initialize initialize
  #--------------------------------------------------------------------------
  # * Object Initialization
  #--------------------------------------------------------------------------
  def initialize
    dargor_vx_cbcrun_party_initialize
    @escaped_actors = []
  end
  #--------------------------------------------------------------------------
  # * Add Escaped Actor
  #--------------------------------------------------------------------------
  def add_escaped_actor(actor_id)
    unless @escaped_actors.include?(actor_id)
      @escaped_actors << actor_id
    end
  end
  #--------------------------------------------------------------------------
  # * Restore Escaped Actors
  #--------------------------------------------------------------------------
  def restore_escaped_actors
    for actor_id in @escaped_actors
      add_actor(actor_id)
    end
    @escaped_actors = []
  end
  #--------------------------------------------------------------------------
  # * Escaped Members
  #--------------------------------------------------------------------------
  def escaped_members
    result = []
    for actor_id in @escaped_actors
      result << $game_actors[actor_id]
    end
    return result
  end
end

#==============================================================================
# ** Game_BattleAction
#------------------------------------------------------------------------------
#  This class handles battle actions. This class is used within the
# Game_Battler class.
#==============================================================================

class Game_BattleAction
  #--------------------------------------------------------------------------
  # * Alias Listing
  #--------------------------------------------------------------------------
  alias dargor_vx_cbcrun_action_clear clear
  #--------------------------------------------------------------------------
  # * Clear
  #--------------------------------------------------------------------------
  def clear
    dargor_vx_cbcrun_action_clear
    @run = false
  end
  #--------------------------------------------------------------------------
  # * Set Run
  #--------------------------------------------------------------------------
  def set_run
    @kind = 0
    @basic = 1
    @run = true
  end
  #--------------------------------------------------------------------------
  # * Normal Attack Determination
  #--------------------------------------------------------------------------
  def run?
    return (@kind == 0 and @basic == 1 and @run)
  end
end

#==============================================================================
# ** Scene_Battle
#------------------------------------------------------------------------------
#  This class performs battle screen processing.
#==============================================================================

class Scene_Battle < Scene_Base
  #--------------------------------------------------------------------------
  # * Alias Listing
  #--------------------------------------------------------------------------
  alias dargor_vx_cbcrun_battle_execute_action execute_action
  alias dargor_vx_cbcrun_battle_battle_end battle_end
  alias dargor_vx_cbcrun_battle_process_defeat process_defeat
  alias dargor_vx_cbcrun_update_actor_command_selection update_actor_command_selection
  #--------------------------------------------------------------------------
  # * Update Actor Command Selection
  #--------------------------------------------------------------------------
  def update_actor_command_selection
    dargor_vx_cbcrun_update_actor_command_selection
    if Input.trigger?(Input::C)
      case @actor_command_window.selection
      when Vocab::Run # Run Command
        Sound.play_decision
        # Set run action
        @active_battler.action.set_run
        # Switch to next actor
        next_actor
      end
    end
  end
  #--------------------------------------------------------------------------
  # * End Battle
  #     result : Results (0: win, 1: escape, 2:lose)
  #--------------------------------------------------------------------------
  def battle_end(result)
    $game_party.restore_escaped_actors
    dargor_vx_cbcrun_battle_battle_end(result)
  end
  #--------------------------------------------------------------------------
  # * Defeat Processing
  #--------------------------------------------------------------------------
  def process_defeat
    # If actors have escaped durring the battle, proccess a normal escape
    if $game_party.escaped_members.size > 0
      battle_end(1)
    else
      dargor_vx_cbcrun_battle_process_defeat
    end
  end
  #--------------------------------------------------------------------------
  # * Escape Processing (for a single actor)
  #--------------------------------------------------------------------------
  def process_actor_escape
    @info_viewport.visible = false
    @message_window.visible = true
    text = sprintf(Vocab::RunStart, @active_battler.name)
    $game_message.texts.push(text)
    if $game_troop.preemptive
      success = true
    else
      success = (rand(100) < @escape_ratio)
    end
    Sound.play_escape
    if success
      wait_for_message
      if $game_party.members.size == 1
        battle_end(1)
      else
        $game_party.add_escaped_actor(@active_battler.id)
        $game_party.remove_actor(@active_battler.id)
      end
      return
    else
      @escape_ratio += 10
      text = sprintf(Vocab::RunFailure, @active_battler.name)
      $game_message.texts.push('\.' + text)
      wait_for_message
      return
    end
  end
  #--------------------------------------------------------------------------
  # * Execute Battle Actions
  #--------------------------------------------------------------------------
  def execute_action
    if @active_battler.action.run?
      process_actor_escape
      return
    else
      dargor_vx_cbcrun_battle_execute_action
    end
  end
end
Expand to see the code.


@hanmac
Good idea. I'll also make a demo with all these commands soon.

EDIT: Unfortunately, I can't post every commands in the first post. The post length limit is to low for that. I'll make a list and upload the demo ASAP.

@Reliez
Since I stop taking requests, like now, I will add these effects to my upcoming Pack of Special Skill Effects.
It will include things like skill reflection, steal, mug, scan, mimic, self-destruction, sketch, etc.
I will also have an option to turn some of these effects into battle commands so you'll find what you want there. :thumb:


IMPORTANT: I'M NOT TAKING REQUESTS ANYMORE
Please, don't ask for another requests. Thank you for your comprehension. 🙂

Tale care!
-Dargor
Dargor wrote:
@Chronnopro 
Here's your Run command
Run Command Show
#==============================================================================
# ** Custom Battle Commands - Run
#------------------------------------------------------------------------------
#  Â © Dargor, 2008
#  01/06/08
#  Requested by Chronnopro
#==============================================================================

# Run vocabulary
Vocab::Run = 'Run'
Vocab::RunStart = "%s has started to escape!"
Vocab::RunFailure   = "However, %s was unable to escape!"

# Run Command Customization Module
module CBC_Run
  # Actors with the Run command
  Actors = [1,2,3,4]
  # Is the party escape command enabled?
  Party_Escape = false
end

#==============================================================================
# ** Game_System
#------------------------------------------------------------------------------
#  This class handles system-related data. Also manages vehicles and BGM, etc.
# The instance of this class is referenced by $game_system.
#==============================================================================

class Game_System
  #--------------------------------------------------------------------------
  # * Alias Listing
  #--------------------------------------------------------------------------
  alias dargor_vx_cbcrun_system_initialize initialize
  #--------------------------------------------------------------------------
  # * Object Initialization
  #--------------------------------------------------------------------------
  def initialize
    dargor_vx_cbcrun_system_initialize
    unless CBC_Run::Party_Escape
      remove_party_command(Vocab.escape)
    end
  end
end

#==============================================================================
# ** Game_Actor
#------------------------------------------------------------------------------
#  This class handles actors. It's used within the Game_Actors class
# ($game_actors) and referenced by the Game_Party class ($game_party).
#==============================================================================

class Game_Actor < Game_Battler
  #--------------------------------------------------------------------------
  # * Alias Listing
  #--------------------------------------------------------------------------
  alias dargor_vx_cbcrun_actor_setup setup
  #--------------------------------------------------------------------------
  # * Setup
  #     actor_id : actor ID
  #--------------------------------------------------------------------------
  def setup(actor_id)
    dargor_vx_cbcrun_actor_setup(actor_id)
    # Add battle commands
    if [1,2,3,4].include?(@actor_id)
      # Add 'Run' command
      add_command(@commands.size, Vocab::Run)
    end
  end
end

#==============================================================================
# ** Game_Party
#------------------------------------------------------------------------------
#  This class handles the party. It includes information on amount of gold
# and items. The instance of this class is referenced by $game_party.
#==============================================================================

class Game_Party < Game_Unit
  #--------------------------------------------------------------------------
  # * Alias Listing
  #--------------------------------------------------------------------------
  alias dargor_vx_cbcrun_party_initialize initialize
  #--------------------------------------------------------------------------
  # * Object Initialization
  #--------------------------------------------------------------------------
  def initialize
    dargor_vx_cbcrun_party_initialize
    @escaped_actors = []
  end
  #--------------------------------------------------------------------------
  # * Add Escaped Actor
  #--------------------------------------------------------------------------
  def add_escaped_actor(actor_id)
    unless @escaped_actors.include?(actor_id)
      @escaped_actors << actor_id
    end
  end
  #--------------------------------------------------------------------------
  # * Restore Escaped Actors
  #--------------------------------------------------------------------------
  def restore_escaped_actors
    for actor_id in @escaped_actors
      add_actor(actor_id)
    end
    @escaped_actors = []
  end
  #--------------------------------------------------------------------------
  # * Escaped Members
  #--------------------------------------------------------------------------
  def escaped_members
    result = []
    for actor_id in @escaped_actors
      result << $game_actors[actor_id]
    end
    return result
  end
end

#==============================================================================
# ** Game_BattleAction
#------------------------------------------------------------------------------
#  This class handles battle actions. This class is used within the
# Game_Battler class.
#==============================================================================

class Game_BattleAction
  #--------------------------------------------------------------------------
  # * Alias Listing
  #--------------------------------------------------------------------------
  alias dargor_vx_cbcrun_action_clear clear
  #--------------------------------------------------------------------------
  # * Clear
  #--------------------------------------------------------------------------
  def clear
    dargor_vx_cbcrun_action_clear
    @run = false
  end
  #--------------------------------------------------------------------------
  # * Set Run
  #--------------------------------------------------------------------------
  def set_run
    @kind = 0
    @basic = 1
    @run = true
  end
  #--------------------------------------------------------------------------
  # * Normal Attack Determination
  #--------------------------------------------------------------------------
  def run?
    return (@kind == 0 and @basic == 1 and @run)
  end
end

#==============================================================================
# ** Scene_Battle
#------------------------------------------------------------------------------
#  This class performs battle screen processing.
#==============================================================================

class Scene_Battle < Scene_Base
  #--------------------------------------------------------------------------
  # * Alias Listing
  #--------------------------------------------------------------------------
  alias dargor_vx_cbcrun_battle_execute_action execute_action
  alias dargor_vx_cbcrun_battle_battle_end battle_end
  alias dargor_vx_cbcrun_battle_process_defeat process_defeat
  alias dargor_vx_cbcrun_update_actor_command_selection update_actor_command_selection
  #--------------------------------------------------------------------------
  # * Update Actor Command Selection
  #--------------------------------------------------------------------------
  def update_actor_command_selection
    dargor_vx_cbcrun_update_actor_command_selection
    if Input.trigger?(Input::C)
      case @actor_command_window.selection
      when Vocab::Run # Run Command
        Sound.play_decision
        # Set run action
        @active_battler.action.set_run
        # Switch to next actor
        next_actor
      end
    end
  end
  #--------------------------------------------------------------------------
  # * End Battle
  #     result : Results (0: win, 1: escape, 2:lose)
  #--------------------------------------------------------------------------
  def battle_end(result)
    $game_party.restore_escaped_actors
    dargor_vx_cbcrun_battle_battle_end(result)
  end
  #--------------------------------------------------------------------------
  # * Defeat Processing
  #--------------------------------------------------------------------------
  def process_defeat
    # If actors have escaped durring the battle, proccess a normal escape
    if $game_party.escaped_members.size > 0
      battle_end(1)
    else
      dargor_vx_cbcrun_battle_process_defeat
    end
  end
  #--------------------------------------------------------------------------
  # * Escape Processing (for a single actor)
  #--------------------------------------------------------------------------
  def process_actor_escape
    @info_viewport.visible = false
    @message_window.visible = true
    text = sprintf(Vocab::RunStart, @active_battler.name)
    $game_message.texts.push(text)
    if $game_troop.preemptive
      success = true
    else
      success = (rand(100) < @escape_ratio)
    end
    Sound.play_escape
    if success
      wait_for_message
      if $game_party.members.size == 1
        battle_end(1)
      else
        $game_party.add_escaped_actor(@active_battler.id)
        $game_party.remove_actor(@active_battler.id)
      end
      return
    else
      @escape_ratio += 10
      text = sprintf(Vocab::RunFailure, @active_battler.name)
      $game_message.texts.push('\.' + text)
      wait_for_message
      return
    end
  end
  #--------------------------------------------------------------------------
  # * Execute Battle Actions
  #--------------------------------------------------------------------------
  def execute_action
    if @active_battler.action.run?
      process_actor_escape
      return
    else
      dargor_vx_cbcrun_battle_execute_action
    end
  end
end
Expand to see the code.


@hanmac
Good idea. I'll also make a demo with all these commands soon.

EDIT: Unfortunately, I can't post every commands in the first post. The post length limit is to low for that. I'll make a list and upload the demo ASAP.

@Reliez
Since I stop taking requests, like now, I will add these effects to my upcoming Pack of Special Skill Effects.
It will include things like skill reflection, steal, mug, scan, mimic, self-destruction, sketch, etc.
I will also have an option to turn some of these effects into battle commands so you'll find what you want there. :thumb:


IMPORTANT: I'M NOT TAKING REQUESTS ANYMORE
Please, don't ask for another requests. Thank you for your comprehension. 🙂

Tale care!
-Dargor


OK, sure, I'll be waiting for that then! :D
Thank you Dargor it looks great
Question: how do I add new commands in the menu? For example the Mix Skills script. Can't figure it out.

I managed to get it in the menu list, but when I stand on it and confirm, all I get is a sound,  but it doesn't open up the mix skills script. O_o
It's because you need to edit the update_command_selection method in Scene_Menu yourself.
I have updated the script to version 1.5
This version now supports commands substitutes. it works exactly like the classes "custom skill command name" feature but for ANY command.
Search for
class RPG::Class
Expand to see the code.

and edit the @commands array.

Take care!
-Dargor
I found a glitch.

For character class 4 (Magician) I renamed skill to Magic (using the new command substitute thingy).  Now, i can't select it when battling.

    #Magician's Class, use Magic instead of skills
    @commands[4] = {
                      Vocab::skill => 'Magic'
                   }
Expand to see the code.

Thats the edit I made.
Don't replace the skill command with the script. Instead, use the class skill command feature, directly from the database.
Dargor wrote:
Don't replace the skill command with the script. Instead, use the class skill command feature, directly from the database.

Oh, I never noticed that.  Thanks :)

Also, I am having a bit trouble with a custom command, maybe I am not seeing it.  I am basing this one off of your bestiary script for the (Woratana's) mix skills system.

# Vocabulary
Vocab::MixSkills = 'Skill Combine'

#==============================================================================
# ** Scene_Menu
#------------------------------------------------------------------------------
#  This class performs the menu screen processing.
#==============================================================================

class Scene_Menu < Scene_Base
  #--------------------------------------------------------------------------
  # * Alias Listing
  #--------------------------------------------------------------------------
  alias woratana_vx_mixskills_menu_create_command_window create_command_window
  alias woratana_vx_mixskills_menu_update_command_selection update_command_selection
  #--------------------------------------------------------------------------
  # * Create Command Window
  #--------------------------------------------------------------------------
  def create_command_window
    commands = $game_system.menu_commands
    index = commands.index(Vocab::save)
    $game_system.add_menu_command(index, Vocab::MixSkills)
    dargor_vx_cmcbestiary_menu_create_command_window
  end
  #--------------------------------------------------------------------------
  # * Update Command Selection
  #--------------------------------------------------------------------------
  def update_command_selection
    woratana_vx_mixskills_menu_update_command_selection
    command = @command_window.selection
    if Input.trigger?(Input::C)
      Sound.play_decision
      case @command_window.selection
      when Vocab::MixSkills
        $scene = Scene_Mixskill.new(true)
      end
    end
  end
end
#==============================================================================
# ** Scene_Bestiary
#------------------------------------------------------------------------------
#  This class performs the bestiary screen processing.
#==============================================================================

class Scene_Mixskillsystem < Scene_Base
  #--------------------------------------------------------------------------
  # * Alias Listing
  #--------------------------------------------------------------------------
  alias woratana_vx_mixskills_update_list_selection update_list_selection
  #--------------------------------------------------------------------------
  # * Object Initialization
  #--------------------------------------------------------------------------
  def initialize(from_menu=false)
    @from_menu = from_menu
  end
  #--------------------------------------------------------------------------
  # * Update List Selection
  #--------------------------------------------------------------------------
  def update_list_selection
    if Input.trigger?(Input::B)
      Sound.play_cancel
      if @from_menu
        index = $game_system.menu_commands.index(Vocab::MixSkills)
        $scene = Scene_Menu.new(index)
      else
        $scene = Scene_Map.new
      end
      return
    end
    woratana_vx_mixskills_update_list_selection
  end
end
Expand to see the code.


But when I run it, it gives me this error:

Script 'Add Mix Skills to Menu' line 57: NameError occurred.
undefined method 'update list selection' for class
'Scene_Mixskillsystem'

Now, what might be causing it, is that in Woratana's script, its already defined as Scene_Mixskillsystem.  But, I don't really know how to fix it.
You did at least 2 mistakes.
Quote:
  alias woratana_vx_mixskills_menu_create_command_window create_command_window
  alias woratana_vx_mixskills_menu_update_command_selection update_command_selection
  #--------------------------------------------------------------------------
  # * Create Command Window
  #--------------------------------------------------------------------------
  def create_command_window
    commands = $game_system.menu_commands
    index = commands.index(Vocab::save)
    $game_system.add_menu_command(index, Vocab::MixSkills)
    dargor_vx_cmcbestiary_menu_create_command_window
      ***You kept the aliased method of the beatisry script
            use woratana_vx_mixskills_menu_create_command_window instead ***

  end
  #--------------------------------------------------------------------------
  # * Update Command Selection
  #--------------------------------------------------------------------------
  def update_command_selection
    woratana_vx_mixskills_menu_update_command_selection
    command = @command_window.selection
    if Input.trigger?(Input::C)
      Sound.play_decision
      case @command_window.selection
      when Vocab::MixSkills
        $scene = Scene_Mixskill.new(true)
          ***Isn't that supposed to be Scene_Mixskillsystem ???***

      end
    end
  end
end

Quote:

class Scene_Mixskillsystem < Scene_Base
  *** ...or maybe the class name is supposed to be Scene_Mixskill ???***

  (...)


Besides that, everything is fine.
Ah yeah... I figured it out now.

For anyone who wants to use it, here it is:
For Woratana's mix skill system
Content Hidden Show
#==============================================================================
# ** Custom Commands (by Dargor) - Woratana's Mix Skills System
#------------------------------------------------------------------------------
#  Addon by Psymastr
#  June 11th, 2008
#==============================================================================

# Vocabulary
Vocab::MixSkills = 'Mix Skills'

#==============================================================================
# ** Scene_Menu
#------------------------------------------------------------------------------
#  This class performs the menu screen processing.
#==============================================================================

class Scene_Menu < Scene_Base
  #--------------------------------------------------------------------------
  # * Alias Listing
  #--------------------------------------------------------------------------
  alias dargor_vx_cmcskillsup_menu_create_command_window create_command_window
  alias dargor_vx_cmcskillsup_menu_update_command_selection update_command_selection
  #--------------------------------------------------------------------------
  # * Create Command Window
  #--------------------------------------------------------------------------
  def create_command_window
    commands = $game_system.menu_commands
    index = commands.index(Vocab::save)
    $game_system.add_menu_command(index, Vocab::MixSkills)
    dargor_vx_cmcskillsup_menu_create_command_window
  end
  #--------------------------------------------------------------------------
  # * Update Command Selection
  #--------------------------------------------------------------------------
  def update_command_selection
    dargor_vx_cmcskillsup_menu_update_command_selection
    command = @command_window.selection
    if Input.trigger?(Input::C)
      Sound.play_decision
      case @command_window.selection
      when Vocab::MixSkills
        $scene = Scene_Mixskill.new
      end
    end
  end
end
Expand to see the code.
I keep getting a problem when I test it where it tells me:
'no implicit conversion from nil to integer' on line 223.

I haven't touched the script, and its the topmost script above Main. Any reason it could be doing this? I haven't been able to figure this out for a couple days now so I thought I'd ask.

Thanks in advance.
I still can't remove save from the main menu
van helblaze wrote:
I still can't remove save from the main menu


Now, correct me if I'm wrong (since I'm a complete script newbie), but this should get rid of the save feature from the main menu:

Content Hidden Show
#==============================================================================
# ** Custom Commands
#------------------------------------------------------------------------------
#  Â © Dargor, 2008
#  08/06/08
#  Version 1.5
#------------------------------------------------------------------------------
#  VERSION HISTORY:
#  - 1.0  (09/03/08), Initial release
#  - 1.1  (15/03/08), Added support for Party Commands
#  - 1.2  (15/03/08), Added support for Actor Commands
#  - 1.2.1 (15/03/08), Bug fixed with Selectable Window's contents
#  - 1.3  (24/03/08), Added the 'Selection' method to Window_Selectable
#  - 1.4  (08/05/08), Works with the 'Selection' method
#  - 1.5  (08/06/08), Added support for command substitution based
#                        on an actor's class ID
#------------------------------------------------------------------------------
#  INSTRUCTIONS:
#    1) Place this script above all custom scripts and below all
#        default scripts
#    2) To change the default menu commands, use:
#          - $game_system.menu_commands = [string1, string2...]
#              or
#          - $game_system.add_menu_command(index, command)
#              or
#          - $game_system.remove_menu_command(command)
#    3) To change the default party commands, use:
#          - $game_system.party_commands = [string1, string2...]
#              or
#          - $game_system.add_party_command(index, command)
#              or
#          - $game_system.remove_party_command(command)
#    4) To change an actor's battle commands, use:
#          - $game_actors[id].commands = [string1, string2...]
#              or
#          - $game_actors[id].add_command(index, command)
#              or
#          - $game_actors[id].remove_command(command)
#------------------------------------------------------------------------------
#  NOTES:
#    1) When using the following methods:
#            > $game_system.add_menu_command(index, command)
#            > $game_system.remove_menu_command(command)
#            > $game_system.add_party_command(index, command)
#            > $game_system.remove_party_command(command)
#            > $game_actors[id].add_command(index, command)
#            > $game_actors[id].remove_command(command)
#      'command' can be a String or an Array
#    2) This script overides the following methods:
#            > Window_PartyCommand
#              <> initialize
#            > Window_ActorCommand
#              <> initialize
#              <> setup
#            > Scene_Menu
#              <> create_command_window
#              <> update_command_selection
#              <> update_actor_selection
#            > Scene_Battle
#              <> update_party_command_selection
#              <> update_actor_command_selection
#        This script will be incompatible with any other scripts
#        modifying these methodsunless they are based on the
#        Custom Commands script methods.
#==============================================================================
       
#==============================================================================
# ** RPG::Class
#------------------------------------------------------------------------------
#  This class handles actors classes.
#==============================================================================

class RPG::Class
  #--------------------------------------------------------------------------
  # * Command Name
  # Returns a substitute to command_name.
  # Returns the original command name if no substitues are found.
  #    command_name : command name
  #--------------------------------------------------------------------------
  def command_name(command)
    # Commands Substitution Array
    @commands = []
    # SYNTAX: @commands[class_ID] = { original_command => substitute }
    @commands[1] = {
                    Vocab::attack => 'Strike',
                    Vocab::item  => 'Things'
                  }
    @commands[2] = {
                    Vocab::guard => 'Protect',
                    Vocab::item  => 'Stuff'
                  }
    # Get command substitute
    if @commands[@id].nil? or @commands[@id][command].nil?
      return command
    end
    return @commands[@id][command]
  end
end

#==============================================================================
# ** Game_System
#------------------------------------------------------------------------------
#  This class handles system-related data. Also manages vehicles and BGM, etc.
# The instance of this class is referenced by $game_system.
#==============================================================================

class Game_System
  #--------------------------------------------------------------------------
  # * Public Instance Variables
  #--------------------------------------------------------------------------
  attr_accessor :menu_commands
  attr_accessor :party_commands
  #--------------------------------------------------------------------------
  # * Alias Listing
  #--------------------------------------------------------------------------
  alias dargor_vx_cmc_system_initialize initialize
  #--------------------------------------------------------------------------
  # * Object Initialization
  #--------------------------------------------------------------------------
  def initialize
    dargor_vx_cmc_system_initialize
    s1 = Vocab::item
    s2 = Vocab::skill
    s3 = Vocab::equip
    s4 = Vocab::status
    s5 = Vocab::game_end
    @menu_commands = [s1, s2, s3, s4, s5]
    s1 = Vocab::fight
    s2 = Vocab::escape
    @party_commands = [s1, s2]
  end
  #--------------------------------------------------------------------------
  # * Add Menu Command
  #--------------------------------------------------------------------------
  def add_menu_command(index, command)
    return if @menu_commands.include?(command)
    if command.is_a?(String)
      @menu_commands.insert(index, command)
    elsif command.is_a?(Array)
      for i in 0...command.size
        @menu_commands.insert(index+i, command[i])
      end
    end
  end
  #--------------------------------------------------------------------------
  # * Add Party Command
  #--------------------------------------------------------------------------
  def add_party_command(index, command)
    return if @party_commands.include?(command)
    if command.is_a?(String)
      @party_commands.insert(index, command)
    elsif command.is_a?(Array)
      for i in 0...command.size
        @party_commands.insert(index+i, command[i])
      end
    end
  end
  #--------------------------------------------------------------------------
  # * Remove Menu Command
  #--------------------------------------------------------------------------
  def remove_menu_command(command)
    if command.is_a?(String)
      @menu_commands.delete(command)
    elsif command.is_a?(Array)
      for i in command
        @menu_commands.delete(i)
      end
    end
  end
  #--------------------------------------------------------------------------
  # * Remove Party Command
  #--------------------------------------------------------------------------
  def remove_party_command(command)
    if command.is_a?(String)
      @party_commands.delete(command)
    elsif command.is_a?(Array)
      for i in command
        @party_commands.delete(i)
      end
    end
  end
end

#==============================================================================
# ** Game_Actor
#------------------------------------------------------------------------------
#  This class handles actors. It's used within the Game_Actors class
# ($game_actors) and referenced by the Game_Party class ($game_party).
#==============================================================================

class Game_Actor < Game_Battler
  #--------------------------------------------------------------------------
  # * Public Instance Variables
  #--------------------------------------------------------------------------
  attr_reader  :commands                  # battle commands
  #--------------------------------------------------------------------------
  # * Public Instance Variables
  #--------------------------------------------------------------------------
  alias dargor_vx_battle_commands_actor_setup setup
  #--------------------------------------------------------------------------
  # * Setup
  #    actor_id : actor ID
  #--------------------------------------------------------------------------
  def setup(actor_id)
    dargor_vx_battle_commands_actor_setup(actor_id)
    actor = $data_actors[actor_id]
    s1 = self.class.command_name(Vocab::attack)
    s2 = self.class.command_name(Vocab::skill)
    s3 = self.class.command_name(Vocab::guard)
    s4 = self.class.command_name(Vocab::item)
    if self.class.skill_name_valid    # Skill command name is valid?
      s2 = self.class.skill_name      # Replace command name
    end
    @commands = [s1, s2, s3, s4]
  end
  #--------------------------------------------------------------------------
  # * Add Command
  #--------------------------------------------------------------------------
  def add_command(index, command)
    return if @commands.include?(command)
    if command.is_a?(String)
      @commands.insert(index, command)
    elsif command.is_a?(Array)
      for i in 0...command.size
        @commands.insert(index+i, command[i])
      end
    end
  end
  #--------------------------------------------------------------------------
  # * Remove Command
  #--------------------------------------------------------------------------
  def remove_command(command)
    if command.is_a?(String)
      @commands.delete(command)
    elsif command.is_a?(Array)
      for i in command
        @commands.delete(i)
      end
    end
  end
end

#==============================================================================
# ** Window_Selectable
#------------------------------------------------------------------------------
#  This window contains cursor movement and scroll functions.
#==============================================================================

class Window_Selectable < Window_Base
  #--------------------------------------------------------------------------
  # * Selection
  #--------------------------------------------------------------------------
  def selection
    return @commands[self.index]
  end
end

#==============================================================================
# ** Window_PartyCommand
#------------------------------------------------------------------------------
#  This window is used to select whether to fight or escape on the battle
# screen.
#==============================================================================

class Window_PartyCommand < Window_Command
  #--------------------------------------------------------------------------
  # * Object Initialization
  #--------------------------------------------------------------------------
  def initialize
    @commands = $game_system.party_commands
    super(128, @commands, 1, 0)
    draw_item(0, true)
    draw_item(1, $game_troop.can_escape)
    self.active = false
    self.height = 128
  end
end

#==============================================================================
# ** Window_ActorCommand
#------------------------------------------------------------------------------
#  This window is used to select actor commands, such as "Attack" or "Skill".
#==============================================================================

class Window_ActorCommand < Window_Command
  #--------------------------------------------------------------------------
  # * Object Initialization
  #--------------------------------------------------------------------------
  def initialize
    super(128, [], 1, 4)
    self.active = false
  end
  #--------------------------------------------------------------------------
  # * Setup
  #    actor : actor
  #--------------------------------------------------------------------------
  def setup(actor)
    @commands = actor.commands
    @item_max = @commands.size
    height = @item_max * 24
    self.contents = Bitmap.new(width - 32, height)
    refresh
    self.index = 0
  end
end

#==============================================================================
# ** Scene_Menu
#------------------------------------------------------------------------------
#  This class performs the menu screen processing.
#==============================================================================

class Scene_Menu < Scene_Base
  #--------------------------------------------------------------------------
  # * Create Command Window
  #--------------------------------------------------------------------------
  def create_command_window
    @command_window = Window_Command.new(160, $game_system.menu_commands)
    @command_window.index = @menu_index
    if $game_party.members.size == 0          # If number of party members is 0
      @command_window.draw_item(0, false)    # Disable item
      @command_window.draw_item(1, false)    # Disable skill
      @command_window.draw_item(2, false)    # Disable equipment
      @command_window.draw_item(3, false)    # Disable status
    end
  end
  #--------------------------------------------------------------------------
  # * Update Command Selection
  #--------------------------------------------------------------------------
  def update_command_selection
    if Input.trigger?(Input::B)
      Sound.play_cancel
      $scene = Scene_Map.new
    elsif Input.trigger?(Input::C)
      command = @command_window.selection
      if $game_party.members.size == 0 and (command == Vocab::item or
                                            command == Vocab::skill or
                                            command == Vocab::equip or
                                            command == Vocab::status)
        Sound.play_buzzer
        return
      elsif $game_system.save_disabled and command == Vocab::save
        Sound.play_buzzer
        return
      end
      Sound.play_decision
      case @command_window.selection
      when Vocab::item
        $scene = Scene_Item.new
      when Vocab::skill,Vocab::equip,Vocab::status
        start_actor_selection
      when Vocab::game_end
        $scene = Scene_End.new
      end
    end
  end
  #--------------------------------------------------------------------------
  # * Update Actor Selection
  #--------------------------------------------------------------------------
  def update_actor_selection
    if Input.trigger?(Input::B)
      Sound.play_cancel
      end_actor_selection
    elsif Input.trigger?(Input::C)
      $game_party.last_actor_index = @status_window.index
      Sound.play_decision
      case @command_window.selection
      when Vocab::skill  # skill
        $scene = Scene_Skill.new(@status_window.index)
      when Vocab::equip  # equipment
        $scene = Scene_Equip.new(@status_window.index)
      when Vocab::status  # status
        $scene = Scene_Status.new(@status_window.index)
      end
    end
  end
end

#==============================================================================
# ** Scene_Battle
#------------------------------------------------------------------------------
#  This class performs battle screen processing.
#==============================================================================

class Scene_Battle < Scene_Base
  #--------------------------------------------------------------------------
  # * Update Party Command Selection
  #--------------------------------------------------------------------------
  def update_party_command_selection
    if Input.trigger?(Input::C)
      case @party_command_window.selection
      when Vocab::fight  # Fight
        Sound.play_decision
        @status_window.index = @actor_index = -1
        next_actor
      when Vocab::escape  # Escape
        if $game_troop.can_escape == false
          Sound.play_buzzer
          return
        end
        Sound.play_decision
        process_escape
      end
    end
  end
  #--------------------------------------------------------------------------
  # * Update Actor Command Selection
  #--------------------------------------------------------------------------
  def update_actor_command_selection
    skill = Vocab::skill
    if @active_battler.class.skill_name_valid
      skill = @active_battler.class.skill_name
    end
    if Input.trigger?(Input::B)
      Sound.play_cancel
      prior_actor
    elsif Input.trigger?(Input::C)
      case @actor_command_window.selection
      when @active_battler.class.command_name(Vocab::attack)  # Attack
        Sound.play_decision
        @active_battler.action.set_attack
        start_target_enemy_selection
      when skill # Skill
        Sound.play_decision
        start_skill_selection
      when @active_battler.class.command_name(Vocab::guard)  # Guard
        Sound.play_decision
        @active_battler.action.set_guard
        next_actor
      when @active_battler.class.command_name(Vocab::item)  # Item
        Sound.play_decision
        start_item_selection
      end
    end
  end
end


Basically, you just get rid of the vocabulary from the main menu.
So it's the very same script, but with the mentions of save removed.
If you want to bring up the save feature, just call it up with an event. :]
Hope that helps!
That didn't work I get this error.

Script 'Custom Commands' line 138 TypeError occured.

no implicit conversion from nil to integer
Expand to see the code.

------------------
EDIT:
Reliez wrote:
van helblaze wrote:
I still can't remove save from the main menu


Now, correct me if I'm wrong (since I'm a complete script newbie), but this should get rid of the save feature from the main menu:

Content Hidden Show
#==============================================================================
# ** Custom Commands
#------------------------------------------------------------------------------
#   © Dargor, 2008
#   08/06/08
#   Version 1.5
#------------------------------------------------------------------------------
#   VERSION HISTORY:
#    - 1.0   (09/03/08), Initial release
#    - 1.1   (15/03/08), Added support for Party Commands
#    - 1.2   (15/03/08), Added support for Actor Commands
#    - 1.2.1 (15/03/08), Bug fixed with Selectable Window's contents
#    - 1.3   (24/03/08), Added the 'Selection' method to Window_Selectable
#    - 1.4   (08/05/08), Works with the 'Selection' method
#    - 1.5   (08/06/08), Added support for command substitution based
#                          on an actor's class ID
#------------------------------------------------------------------------------
#   INSTRUCTIONS:
#      1) Place this script above all custom scripts and below all
#          default scripts
#      2) To change the default menu commands, use:
#            - $game_system.menu_commands = [string1, string2...]
#                or
#            - $game_system.add_menu_command(index, command)
#                or
#            - $game_system.remove_menu_command(command)
#      3) To change the default party commands, use:
#            - $game_system.party_commands = [string1, string2...]
#                or
#            - $game_system.add_party_command(index, command)
#                or
#            - $game_system.remove_party_command(command)
#      4) To change an actor's battle commands, use:
#            - $game_actors[id].commands = [string1, string2...]
#                or
#            - $game_actors[id].add_command(index, command)
#                or
#            - $game_actors[id].remove_command(command)
#------------------------------------------------------------------------------
#   NOTES:
#      1) When using the following methods:
#              > $game_system.add_menu_command(index, command)
#              > $game_system.remove_menu_command(command)
#              > $game_system.add_party_command(index, command)
#              > $game_system.remove_party_command(command)
#              > $game_actors[id].add_command(index, command)
#              > $game_actors[id].remove_command(command)
#        'command' can be a String or an Array
#      2) This script overides the following methods:
#              > Window_PartyCommand
#                <> initialize
#              > Window_ActorCommand
#                <> initialize
#                <> setup
#              > Scene_Menu
#                <> create_command_window
#                <> update_command_selection
#                <> update_actor_selection
#              > Scene_Battle
#                <> update_party_command_selection
#                <> update_actor_command_selection
#          This script will be incompatible with any other scripts
#          modifying these methodsunless they are based on the
#          Custom Commands script methods.
#==============================================================================
       
#==============================================================================
# ** RPG::Class
#------------------------------------------------------------------------------
#   This class handles actors classes.
#==============================================================================

class RPG::Class
  #--------------------------------------------------------------------------
  # * Command Name
  # Returns a substitute to command_name.
  # Returns the original command name if no substitues are found.
  #      command_name : command name
  #--------------------------------------------------------------------------
  def command_name(command)
    # Commands Substitution Array
    @commands = []
    # SYNTAX: @commands[class_ID] = { original_command => substitute }
    @commands[1] = {
                    Vocab::attack => 'Strike',
                    Vocab::item   => 'Things'
                   }
    @commands[2] = {
                    Vocab::guard => 'Protect',
                    Vocab::item  => 'Stuff'
                   }
    # Get command substitute
    if @commands[@id].nil? or @commands[@id][command].nil?
      return command
    end
    return @commands[@id][command]
  end
end

#==============================================================================
# ** Game_System
#------------------------------------------------------------------------------
#   This class handles system-related data. Also manages vehicles and BGM, etc.
# The instance of this class is referenced by $game_system.
#==============================================================================

class Game_System
  #--------------------------------------------------------------------------
  # * Public Instance Variables
  #--------------------------------------------------------------------------
  attr_accessor :menu_commands
  attr_accessor :party_commands
  #--------------------------------------------------------------------------
  # * Alias Listing
  #--------------------------------------------------------------------------
  alias dargor_vx_cmc_system_initialize initialize
  #--------------------------------------------------------------------------
  # * Object Initialization
  #--------------------------------------------------------------------------
  def initialize
    dargor_vx_cmc_system_initialize
    s1 = Vocab::item
    s2 = Vocab::skill
    s3 = Vocab::equip
    s4 = Vocab::status
    s5 = Vocab::game_end
    @menu_commands = [s1, s2, s3, s4, s5]
    s1 = Vocab::fight
    s2 = Vocab::escape
    @party_commands = [s1, s2]
  end
  #--------------------------------------------------------------------------
  # * Add Menu Command
  #--------------------------------------------------------------------------
  def add_menu_command(index, command)
    return if @menu_commands.include?(command)
    if command.is_a?(String)
      @menu_commands.insert(index, command)
    elsif command.is_a?(Array)
      for i in 0...command.size
        @menu_commands.insert(index+i, command[i])
      end
    end
  end
  #--------------------------------------------------------------------------
  # * Add Party Command
  #--------------------------------------------------------------------------
  def add_party_command(index, command)
    return if @party_commands.include?(command)
    if command.is_a?(String)
      @party_commands.insert(index, command)
    elsif command.is_a?(Array)
      for i in 0...command.size
        @party_commands.insert(index+i, command[i])
      end
    end
  end
  #--------------------------------------------------------------------------
  # * Remove Menu Command
  #--------------------------------------------------------------------------
  def remove_menu_command(command)
    if command.is_a?(String)
      @menu_commands.delete(command)
    elsif command.is_a?(Array)
      for i in command
        @menu_commands.delete(i)
      end
    end
  end
  #--------------------------------------------------------------------------
  # * Remove Party Command
  #--------------------------------------------------------------------------
  def remove_party_command(command)
    if command.is_a?(String)
      @party_commands.delete(command)
    elsif command.is_a?(Array)
      for i in command
        @party_commands.delete(i)
      end
    end
  end
end

#==============================================================================
# ** Game_Actor
#------------------------------------------------------------------------------
#   This class handles actors. It's used within the Game_Actors class
# ($game_actors) and referenced by the Game_Party class ($game_party).
#==============================================================================

class Game_Actor < Game_Battler
  #--------------------------------------------------------------------------
  # * Public Instance Variables
  #--------------------------------------------------------------------------
  attr_reader   :commands                   # battle commands
  #--------------------------------------------------------------------------
  # * Public Instance Variables
  #--------------------------------------------------------------------------
  alias dargor_vx_battle_commands_actor_setup setup
  #--------------------------------------------------------------------------
  # * Setup
  #      actor_id : actor ID
  #--------------------------------------------------------------------------
  def setup(actor_id)
    dargor_vx_battle_commands_actor_setup(actor_id)
    actor = $data_actors[actor_id]
    s1 = self.class.command_name(Vocab::attack)
    s2 = self.class.command_name(Vocab::skill)
    s3 = self.class.command_name(Vocab::guard)
    s4 = self.class.command_name(Vocab::item)
    if self.class.skill_name_valid     # Skill command name is valid?
      s2 = self.class.skill_name       # Replace command name
    end
    @commands = [s1, s2, s3, s4]
  end
  #--------------------------------------------------------------------------
  # * Add Command
  #--------------------------------------------------------------------------
  def add_command(index, command)
    return if @commands.include?(command)
    if command.is_a?(String)
      @commands.insert(index, command)
    elsif command.is_a?(Array)
      for i in 0...command.size
        @commands.insert(index+i, command[i])
      end
    end
  end
  #--------------------------------------------------------------------------
  # * Remove Command
  #--------------------------------------------------------------------------
  def remove_command(command)
    if command.is_a?(String)
      @commands.delete(command)
    elsif command.is_a?(Array)
      for i in command
        @commands.delete(i)
      end
    end
  end
end

#==============================================================================
# ** Window_Selectable
#------------------------------------------------------------------------------
#   This window contains cursor movement and scroll functions.
#==============================================================================

class Window_Selectable < Window_Base
  #--------------------------------------------------------------------------
  # * Selection
  #--------------------------------------------------------------------------
  def selection
    return @commands[self.index]
  end
end

#==============================================================================
# ** Window_PartyCommand
#------------------------------------------------------------------------------
#   This window is used to select whether to fight or escape on the battle
# screen.
#==============================================================================

class Window_PartyCommand < Window_Command
  #--------------------------------------------------------------------------
  # * Object Initialization
  #--------------------------------------------------------------------------
  def initialize
    @commands = $game_system.party_commands
    super(128, @commands, 1, 0)
    draw_item(0, true)
    draw_item(1, $game_troop.can_escape)
    self.active = false
    self.height = 128
  end
end

#==============================================================================
# ** Window_ActorCommand
#------------------------------------------------------------------------------
#   This window is used to select actor commands, such as "Attack" or "Skill".
#==============================================================================

class Window_ActorCommand < Window_Command
  #--------------------------------------------------------------------------
  # * Object Initialization
  #--------------------------------------------------------------------------
  def initialize
    super(128, [], 1, 4)
    self.active = false
  end
  #--------------------------------------------------------------------------
  # * Setup
  #      actor : actor
  #--------------------------------------------------------------------------
  def setup(actor)
    @commands = actor.commands
    @item_max = @commands.size
    height = @item_max * 24
    self.contents = Bitmap.new(width - 32, height)
    refresh
    self.index = 0
  end
end

#==============================================================================
# ** Scene_Menu
#------------------------------------------------------------------------------
#   This class performs the menu screen processing.
#==============================================================================

class Scene_Menu < Scene_Base
  #--------------------------------------------------------------------------
  # * Create Command Window
  #--------------------------------------------------------------------------
  def create_command_window
    @command_window = Window_Command.new(160, $game_system.menu_commands)
    @command_window.index = @menu_index
    if $game_party.members.size == 0          # If number of party members is 0
      @command_window.draw_item(0, false)      # Disable item
      @command_window.draw_item(1, false)      # Disable skill
      @command_window.draw_item(2, false)      # Disable equipment
      @command_window.draw_item(3, false)      # Disable status
    end
  end
  #--------------------------------------------------------------------------
  # * Update Command Selection
  #--------------------------------------------------------------------------
  def update_command_selection
    if Input.trigger?(Input::B)
      Sound.play_cancel
      $scene = Scene_Map.new
    elsif Input.trigger?(Input::C)
      command = @command_window.selection
      if $game_party.members.size == 0 and (command == Vocab::item or
                                            command == Vocab::skill or
                                            command == Vocab::equip or
                                            command == Vocab::status)
        Sound.play_buzzer
        return
      elsif $game_system.save_disabled and command == Vocab::save
        Sound.play_buzzer
        return
      end
      Sound.play_decision
      case @command_window.selection
      when Vocab::item
        $scene = Scene_Item.new
      when Vocab::skill,Vocab::equip,Vocab::status
        start_actor_selection
      when Vocab::game_end
        $scene = Scene_End.new
      end
    end
  end
  #--------------------------------------------------------------------------
  # * Update Actor Selection
  #--------------------------------------------------------------------------
  def update_actor_selection
    if Input.trigger?(Input::B)
      Sound.play_cancel
      end_actor_selection
    elsif Input.trigger?(Input::C)
      $game_party.last_actor_index = @status_window.index
      Sound.play_decision
      case @command_window.selection
      when Vocab::skill  # skill
        $scene = Scene_Skill.new(@status_window.index)
      when Vocab::equip  # equipment
        $scene = Scene_Equip.new(@status_window.index)
      when Vocab::status  # status
        $scene = Scene_Status.new(@status_window.index)
      end
    end
  end
end

#==============================================================================
# ** Scene_Battle
#------------------------------------------------------------------------------
#   This class performs battle screen processing.
#==============================================================================

class Scene_Battle < Scene_Base
  #--------------------------------------------------------------------------
  # * Update Party Command Selection
  #--------------------------------------------------------------------------
  def update_party_command_selection
    if Input.trigger?(Input::C)
      case @party_command_window.selection
      when Vocab::fight  # Fight
        Sound.play_decision
        @status_window.index = @actor_index = -1
        next_actor
      when Vocab::escape  # Escape
        if $game_troop.can_escape == false
          Sound.play_buzzer
          return
        end
        Sound.play_decision
        process_escape
      end
    end
  end
  #--------------------------------------------------------------------------
  # * Update Actor Command Selection
  #--------------------------------------------------------------------------
  def update_actor_command_selection
    skill = Vocab::skill
    if @active_battler.class.skill_name_valid
      skill = @active_battler.class.skill_name
    end
    if Input.trigger?(Input::B)
      Sound.play_cancel
      prior_actor
    elsif Input.trigger?(Input::C)
      case @actor_command_window.selection
      when @active_battler.class.command_name(Vocab::attack)   # Attack
        Sound.play_decision
        @active_battler.action.set_attack
        start_target_enemy_selection
      when skill # Skill
        Sound.play_decision
        start_skill_selection
      when @active_battler.class.command_name(Vocab::guard)   # Guard
        Sound.play_decision
        @active_battler.action.set_guard
        next_actor
      when @active_battler.class.command_name(Vocab::item)   # Item
        Sound.play_decision
        start_item_selection
      end
    end
  end
end


Basically, you just get rid of the vocabulary from the main menu.
So it's the very same script, but with the mentions of save removed.
If you want to bring up the save feature, just call it up with an event. :]
Hope that helps!

your method only works with the Scene_Menu script, once Custom Commands is added it overrides the changes, and I get the error from removing save from this script

Dang I wish I knew how to use ruby script, it would be so much less frustration, I really need all of the scripts set up properly by the middle to end of next week so I can hand off a development copy to one of my friends, he knows even less about scripting than I do.
Script updated to version 1.7

I have fixed a little bug with the commands substitution feature and another bug when disabling menu commands (especially the Save command).
Additionally, I have added support for custom Title Screen commands.

Take care!
-Dargor
  #--------------------------------------------------------------------------
  # * Remove Menu Command
  #--------------------------------------------------------------------------
  def remove_menu_command(save)
    if command.is_a?(s5)
      @menu_commands.delete(save)
    elsif command.is_a?(Array)
      for i in command
        @menu_commands.delete(i)
      end
    end
  end
Expand to see the code.


is this right so far?  I have no idea what the array is or the index so what should I put for those areas?
Nonono! You don't have to change anything in this method!
If you want to remove the Save command, simply use the following line of code.
$game_system.remove_menu_command(Vocab::save)
Expand to see the code.


I'll decorticate the method.
  #--------------------------------------------------------------------------
  # * Remove Menu Command
  #--------------------------------------------------------------------------
  def remove_menu_command(command)
    if command.is_a?(String)
      @menu_commands.delete(command)
    elsif command.is_a?(Array)
      for i in command
        @menu_commands.delete(i)
      end
    end
  end
Expand to see the code.


Fort of all, the method expects an argument (command) which can be a String or an Array.
Use a string (ex: "My Command") if you want to remove only one command.
Use an Array of Strings (ex: [ "Command1", "Command2", "Command3" ]) if you want to remove multiple commands at the same time.
$game_system.remove_menu_command("My Command")
$game_system.remove_menu_command([ "Command1", "Command2", "Command3" ])
Expand to see the code.


Then, the method checks what you're doing.
if command.is_a?(String)
   # remove the specified command
   (...)
elsif command.is_a?(Array)
   # remove every commands in the Array
   (...)
end
Expand to see the code.


That's all, you only need to use
$game_system.remove_menu_command("My Command")
Expand to see the code.

or
$game_system.remove_menu_command([ "Command1", "Command2", "Command3" ])
Expand to see the code.
I noticed that for my at least if I don't open the menu screen before activating the event I get an error and the game crashes

Script 'Custom Commands' line 146: TypeError occured.

no implicit conversion from nil to integer
Expand to see the code.
make a fake starting map... autorun event... send you to real starting map XD
thats what I use for startups if I want certain things set before... like a few random numbers stored and random inventory given for players..
wsensor wrote:
make a fake starting map... autorun event... send you to real starting map XD
thats what I use for startups if I want certain things set before... like a few random numbers stored and random inventory given for players..

I'll try it, but when I tried autorun the even when I opened the menu (if it get that far) I would get an error message.  I unless I have the event as action button I will get error when running the command, but if I use action button if I don't open the menu first I will get the error.
I also get the same error, after the start menu I get an error on line 255 or more specifically the Add Menu command line, @commands.insert(index, command) . Would this possibly be because I'm not adding any commands (except scripted ones like the prayer one)?
I will post a demo explaining how everything works, in detail.
Ok, I have updated the script and posted a demo in the first post.

Enjoy!
-Dargor
Another Update.

I have fix another bug with disabled commands. The menu index has been corrected and I have modified enable/disable methods.

Take care!
-Dargor

Original thread: https://www.hbgames.org/forums/viewtopic.php?t=43211