So, I want to make it so that my prompt is stripped from my log files. Saves me ages of work to post it to our forums later. I had it working, Nick Gammon helped me a long, long time ago - but since then I've changed my prompt and now I can't get it to work; no matter what I do.
At any given time, my prompt looks like:
NAME: <1344/1344hp 1540/1540m 406/406mv 204 12 733> [3:00am Night Time] [Craftskill: 334]
That's: NAME: <%h/%Hhp %m/%Mm %v/%Vmv %g %s %q> [%t %d] [Craftskill: %C]
So, I took it into a trigger and changed all the parts that will change:
NAME: <*/*hp */*m */*mv * * *> [* *] [Craftskill: *]
BUT: it doesn't work. At all. I even tried adding in extra spaces to account for the color code ( {r and {x and whatnot).
And, yes, I made sure to check "omit from log" and my triggers are enabled and all that good stuff.
Help?
EDIT:
OH! I also -when it was working- I noticed that very often my prompt will do this:
NAME: <1344/1344hp 1540/1540m 406/406mv 204 12 733> [9:30pm Night Time] [Craftskill: 334] You drink milk from a delicate amethyst decanter.
For some reason, frequently, I'll get a line of normal text right after the prompt and I'll lose entire lines of stuff from the log because it took out the entire thing.
Is there any way to fix this issue, as well?
At any given time, my prompt looks like:
NAME: <1344/1344hp 1540/1540m 406/406mv 204 12 733> [3:00am Night Time] [Craftskill: 334]
That's: NAME: <%h/%Hhp %m/%Mm %v/%Vmv %g %s %q> [%t %d] [Craftskill: %C]
So, I took it into a trigger and changed all the parts that will change:
NAME: <*/*hp */*m */*mv * * *> [* *] [Craftskill: *]
BUT: it doesn't work. At all. I even tried adding in extra spaces to account for the color code ( {r and {x and whatnot).
And, yes, I made sure to check "omit from log" and my triggers are enabled and all that good stuff.
Help?
EDIT:
OH! I also -when it was working- I noticed that very often my prompt will do this:
NAME: <1344/1344hp 1540/1540m 406/406mv 204 12 733> [9:30pm Night Time] [Craftskill: 334] You drink milk from a delicate amethyst decanter.
For some reason, frequently, I'll get a line of normal text right after the prompt and I'll lose entire lines of stuff from the log because it took out the entire thing.
Is there any way to fix this issue, as well?