じ☆ve冰风 发表于 2026-8-1 09:55:54

Iavra Game.ini Access

Purpose

Be a simple utility module that can be used to read from and write to the Game.ini file.

Prerequisites

None

Terms of Use

Free to use for both commercial and non-commercial games. Please give credit.

How to Use

Place above all scripts that should take use of it.

Check the presence of the script like this:

if(($imported ||= {})[:iavra_ini_access])        # use the scriptelse        # do something elseendLoad/write a key in the ini file.
                Code:       
IAVRA::INI.load("section name", "key name", "default value")

                Code:       
IAVRA::INI.save("section name", "key name", "value to be saved")

FAQNone so far

Changelog

- Removed pointless Procs.

Credits

Iavra

Script

http://pastebin.com/SNdYQu2r


本贴来自国际rpgmaker官方论坛作者:Iavra处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/iavra-game-ini-access.40347/
页: [1]
查看完整版本: Iavra Game.ini Access