• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

Comparing a name from an ini file. What am I doing wrong?

Redbot

💻❤️
Moderator
Joined
Oct 15, 2004
RedCents
104,068¢
Pronouns
He/Him
urgh.

Rich (BB code):
/if (${Ini[test.ini,settings,caster]}.Equal[${Me.Name}]) {
/echo I'm the caster!
}

Results in,

Rich (BB code):
 "Failed to parse /if condition '(charname.Equal[charname])', non-numeric encountered

I just want to know if my character's name is the same as the one in the test.ini file. Apprently it's looking for a number, where do I tell it to look for a string?
 
Nevermind.
I closed the { before Equal. It's been awhile since I wrote a macro :p

corrected line if anyone's curious,

Rich (BB code):
	/if (${Ini[test.ini,settings,caster].Equal[${Me.Name}]}) {
               /echo I'm the caster!
	}
 
Comparing a name from an ini file. What am I doing wrong?

Users who are viewing this thread

Back
Top
Cart