I am completing an acronym replacer script and have all of the dialogs and front end business as I desire. However I can not seem to complete the cod that woudl read from the file, and replace the acronym with the whole word(s). (example LOL should equal Laughs Out Loud).
As I mentioned I have the creation of the file, and editable through dialog. The file looks like this:
Code:
[Inputs]
N1=stfu
N2=heh
N3=lol

[Outputs]
N1=4Shut the F*ck Up
N2=4Grins
N3=4Laughs Out Loud

So far all I can complete is the following:
Code:
on *:INPUT:?,#:{ if ($1- isin ($readini -n $mircdiracronyms\acronyms.ini Inputs)) { set %Acrotext  ($readini -n $mircdiracronyms\acronyms.ini Outputs)


but that doesnt seem right, and I'm not certian how to display it. Thanks for any help.