Jump to content

CMUD Auto logging


Akoz

Recommended Posts

  • Implementor

Click the magnifying glass in the upper left, under the folder icon so you can see your events and variables and, well, everything.

Select the OnConnect event.

Where you're viewing the XML tab in the image above, choose "Script Text".  In my opinion, it's easier to work like this.

image.png

In this, it names it Kassieti.  Which is fine, if that's the only character you're using.  If you change characters often, you'll need a variable in there instead, as you've got in yours.

On that screen, it should look like this:
#LOG %concat(Logs\@Character," ",%time(d),%time(mmm),%time(y))

If it does, double check to make sure you have a folder called "Logs" in your CMud folder.

image.png

 

If it looks like this:
#LOG %concat(Logs\@Character," ",%time(d),%time(mmm),%time(y))
Means you don't have that variable made.  You can either use the New pulldown at the top there, or throw this into your command line: #VAR Character Akoz and it should make one for you.

Just replace "Akoz" with your character name.

Link to comment
Share on other sites

  • Implementor

You're probably going to want another event in the main FL section (where your aliases are): ondisconnect that just has #LOG in the script text.  Probably won't solve your problem, but you'll want one anyway.

As it seems to be temperamental, you could always pull the event into the main section so that it's not in a folder that's disabled by default.

Link to comment
Share on other sites

×
×
  • Create New...