Rycochet

RPGMaker VX Ace - Disable Scripts

Sep 15th, 2013
1,168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 1.06 KB | None | 0 0
  1. #==============================================================================
  2. #
  3. # ▼ Rycochet - Disable Scripts v1.0
  4. # -- Last Updated: 2015.09.16
  5. # -- License: CC BY-NC 3.0 - https://creativecommons.org/licenses/by-nc/3.0/
  6. #
  7. #==============================================================================
  8. # ▼ Instructions
  9. # =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  10. # Place this script above all your own scripts in the list, then simply place
  11. # a "#" character before the name of any script to disable it.
  12. #==============================================================================
  13.  
  14. $imported = {} if $imported.nil?
  15. $imported["Rycochet-DisableScripts"] = true
  16.  
  17. #==============================================================================
  18. # ■ Run immediately to remove scripts before they can be interpreted
  19. #==============================================================================
  20.  
  21. for i in 0 ... $RGSS_SCRIPTS.length
  22.     $RGSS_SCRIPTS[i][2] = $RGSS_SCRIPTS[i][3] = "" if $RGSS_SCRIPTS[i][1] =~ /^#/
  23. end
Advertisement
Add Comment
Please, Sign In to add comment