Anyone know how to log certain lines containing...

Scripts and support for your favorite MUD client.
Dalar
Sojourner
Posts: 4905
Joined: Sun Feb 25, 2001 6:01 am

Anyone know how to log certain lines containing...

Postby Dalar » Sat Jan 19, 2008 8:25 am

Containing tell, group-say etc.?
It will be fixed in Toril 2.0.
Aremat group-says 'tanks i highly suggest investing 20 silver in training weapons from cm to cut down on the losing scales to shield'
Disoputlip
Sojourner
Posts: 956
Joined: Thu Feb 21, 2002 6:01 am
Location: Copenhagen

Postby Disoputlip » Sat Jan 19, 2008 12:43 pm

I would suggest logging it to a database.

I.e. just have a trigger on tells etc, and in the trigger have a dbadd.
Zoldren
Sojourner
Posts: 1309
Joined: Mon Feb 12, 2001 6:01 am
Location: mt. vernon, il
Contact:

Postby Zoldren » Mon Jan 21, 2008 10:53 pm

havent tested the latter but something like this should work

Just to capture it to a window use: #TRIG {(%*) group-says '(%*)'} {#CAP tells}


to write it to a file.
#TRIG {(%*) group-says '(%*)'}
{
#FILE 1 "gtells.txt"
#WRI 1 %1 said %2
#CLOSE 1
}

Return to “MUD Client Help”

Who is online

Users browsing this forum: No registered users and 13 guests