• Hail, we're RedGuides. We want you to play six (yes, 6!) EverQuest characters at once. We have scripts and a friendly community to help, please join our playstyle and say hello! 👋
  • We've added LLM sections to our Terms & Rules and Resource Rules, for everyone's sanity & in-game safety.
    Read more
    a. Do not replace your voice with an LLM. This goes for your posts and your scripts. Drafting and editing with a tool is fine, but don't take you out of what you share.
    b. Do not replace your EQ character's voice with an LLM. We don't want scripts that speak over /ooc, /shout or other public channels. This has been an unwritten rule that's kept casino scripts off the site for decades, but we're now compelled to make it clear: keep automated communication private.

    Why Does RG Review Scripts?
    Nearly every LLM-written Lua script we see is making your character do impossible things, and rarely in a way that's beneficial to you. We've seen heavy server hammering, /target over impossible distances when /nav spawn would passively accomplish the same thing, a spawn search that fires 20+ times per second, and other pointless actions that are likely annoying GMs.

    You are welcome to use LLMs as a tool to structure, draft, and edit your work, but please read critically before hitting /lua run

Oops, I posted this in wrong forums... How to I read a name from an INI File?

Stropfo

New member
Ok, I was wondering how I would get a name, (That I can change inside the INI) so like if i did a plugin that would warp to the person's name that is in the ini, or if i could have multiple names with ID numbers example in the INI

[Names]
Stropfo
Markorak

if there is somehow I can have those id'ed and then checked by a plugin with a command like /warp 1, or 2. this would be easier if i could just chat.
if anyone has msn, aim, or yahoo, please post it...
thanks in advanced
 
MQ2RWarp already does this for you using waypoints. Although that might not be exactly what you looking for.

/waypoint YourWpname

sets the new waypoint in the waypoints.ini file.
 
/varset Name ${Ini[FileName.ini,Names,Mob${Cnt},${NotFound}]}
------------------------^^^^
File Name
---------------------------------^^^^
Section name in [ ]
-------------------------------------------^^^^
What its reading Left side of = sign
------------------------------------------------------^^^^
If no list item is found.. then this is the value your variable is given


FileName.ini

[Names]
Mob1=Stropfo
Mob2=Markorak



ok thats how i understand INI files to be read and values gotten from ini files to work

I AM sure if i am off base ... someone will correct me 8-)


Army
 
Oops, I posted this in wrong forums... How to I read a name from an INI File?

Users who are viewing this thread

Back
Top
Cart