i'm trying to write stuff to a text file and have it like this <p align= the align part i need to always be left then center then right.
i have tried var %align = left
if (%align == left) { %align == center}
if (%align == center) (%align == right }
it always comes out different and not like i want, how do i set it?
just curious, are you usding mIRC to write a webpage?
Or are you trying to format text in mIRC?
it's just a page. I can get it to align if i write it like align=left but i need to change the align variable each time
I guess my point was that there is no "align" in mIRC, and if you are trying to format text in the mIRC windo you will have to come up with a different way to do it.
to say "its just a page" tells me nothing
how about u show us some REAL code, then we might be able to help, at least the section of code u think are important.
PS: the code u showed wasnt ever valid, line 2 uses ( instead of { and %align is attached to the incorrect (
ok
write htm.txt <p align=" $+ %align $+ ">
all i want to do is change %align to left, then to center then to right and always in that succession. like if it uses %align left to change it to %align center if it uses %align center change it to %align right , if it uses %align rightchange to %align left
hehe now i actually understand what he wanted, there is also the very short one of...
%align = $replacex(%align,right,left,left,center,center,right)