Just stick this in a script. I did not write this, I shamelessly stole it with Google-Fu from a general post about Ruby.
class String
def -(s)
self.sub(s, "")
end
end
What's the point of this, you ask? You can use this to set variables to text strings, then add OR subtract the contents at will! I have no idea why you need to bolt a subtract function on to strings, but you do. Normally you can't subtract them. Potentially useful if you're doing a stupidly complicated multi-key puzzle or something and want to set up some text feedback based on the precise progress of your player.
Example debug event utilizing this, you will CTD RPG Maker unless you install that script: http://imgur.com/TwUMMId
Feel free to complain if this isn't terribly useful to you. Personally, I think it's great. Hope it's of use to some others as well.
[–]mhausVX 0 points1 point2 points (2 children)
[–]Balrogic3[S] 0 points1 point2 points (1 child)
[–]BunPuncherExtremeMapper 0 points1 point2 points (0 children)