The text entered into the chat window via script isn't parsed the same way text manually entered, thus all the % variables will not work. It'll aways come out exactly like it see it in the script. At least I've never been able to get the % variables to work via UI scripts.
The easy way around this is to add a none visible text object and use the target gamedata to populate it's text fields. Then in your script do Onpress="'INC ' ## Parent.Target.LocalText" Where Target is your none visible text objects. Or you could Parent out and use the text in the real target window.
I've never used the do_file_command by UI script but I do use load_options, witch works basically the same. The way I use it is; OnPress="load_options=AUCPPreset_3.ini", where the file AUCPPreset_3.ini is located in EverQuest 2's base directory. I assume they would work the same.
|