Thoughts on the Interpreter's Script Command
#4
Curiously, I can't stop wondering why are you so fixated on this topic. Happy with a sweat Not intending to sound harsh at all.
At the same time, I'm not saying this can't be a good topic for further discussion somewhere else. Confused (Like a development discussion thread.)

And honestly, I don't think I'll change it in the near or distant future as far as I can see now.

YET, I want to add one final thing that I've missed so far. In Ruby simply returning a variable's or constant's value is also a valid test, just as good as var == true or var == false or even !var .

Let's say I created an array like @triggered and it should return a given value based on the index we're providing.
Even if that specific position holds no value as of now, like index #100, nil as a default value should be treated as a falsey value based on Ruby's treatment of NilClass objects. Nonetheless, that's NOT what happens normally.

Yeah, people can add a bang! or two or use the equality operator, but that should not be mandatory in Ruby.

If you already have access to the array or variable, you shouldn't be in need of an additional method just for testing purposes. Not for a single value. I think it's different if that method would test other values one after another via operators like and, or, && and ||, of course.

EDIT

Now that this is being discussed on the Development Discussion subforum, let's beat up each other's muzzles! Dog Let's get ready for rumble! Metalhead 
Happy with a sweat OK, I'm speaking figuratively here. Nobody would like to find some flame war-like posts here. Laughing
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9

Maranatha!

The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.

[Image: SP1-Scripter.png]
[Image: SP1-Writer.png]
[Image: SP1-Poet.png]
[Image: SP1-PixelArtist.png]
[Image: SP1-Reporter.png]

My Original Stories (available in English and Spanish)

List of Compiled Binary Executables I have published...
HiddenChest & Roole

Give me a free copy of your completed game if you include at least 3 of my scripts! Laughing + Tongue sticking out

Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE
Reply }


Messages In This Thread
RE: Script Commands Bug Fixes - by kyonides - 02-13-2025, 08:35 PM
RE: Script Commands Bug Fixes - by Zeriab - 02-26-2025, 07:53 AM
RE: Script Commands Bug Fixes - by kyonides - 02-26-2025, 05:45 PM
RE: Script Commands Bug Fixes - by Zeriab - 02-26-2025, 07:25 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Your thoughts on Action Game Maker? PK8 10 20,281 11-18-2011, 03:58 AM
Last Post: KasperKalamity
   Pause Script Feature Requests? PK8 11 18,634 05-25-2009, 11:07 AM
Last Post: Kain Nobel
   Beyond the script editor line: Is it bad practice? PK8 6 12,481 05-22-2009, 09:27 PM
Last Post: Charlie Fleed



Users browsing this thread: 2 Guest(s)