|
Guinn Wizard
Joined: 03 Mar 2001 Posts: 1127 Location: London
|
Posted: Tue Jun 07, 2005 10:40 am
Tell capturing, %quote and %replace |
I've looked through the similar topics, but don't seem to be able to fix the problem still.
A game I play allows multiplaying. I have the following to copy tells from more than one character into the same window (and a simple bit to prevent spamming):
Code: |
#TRIGGER {^(%w) tells you: (*)} {#GVARIABLE channel {%1 tells @character: %2};channel}
#ALIAS channel {#if (@channel = @channelLast) {} {#window {Channels} {%time( hh:nn:ss) @channel};#gvariable channelLast {@channel}}} |
It works, but whenever the tells includes quotes(") then it switches them to tildes(~)
I've tried using %quote() and %replace()
In the main window I see:
Bob tells Guinn: test123 "test123"
In the Channels window I see:
11:29:18 Bob tells Guinn: test123 ~test123~
Any hints on altering the formatting to display correctly?
I'm using v7.10, but I had the same problem in 7.05, so nothing to do with that.
Thanks |
|
|
|
Guinn Wizard
Joined: 03 Mar 2001 Posts: 1127 Location: London
|
Posted: Sun Jun 12, 2005 10:07 am |
bump...
Upgraded to 7.11a, no change.
Any ideas? |
|
_________________ CMUD Pro, Windows Vista x64
Core2 Q6600, 4GB RAM, GeForce 8800GT
Because you need it for text... ;) |
|
|
|
Full Throttle Wanderer
Joined: 07 Dec 2004 Posts: 65
|
Posted: Sun Jun 12, 2005 1:15 pm |
I use %trim() instead of %quote() or %replace().
Code: |
#trigger {^~[CLAN~] You feel (*) say, '(*)'.} {
#window CLAN %concat(%ansi(15)%time(hh:nn) %ansi(12)%1 %ansi(14)%char(34)%trim(" %2 ")%char(34))} |
This trick displays with less error than any other method I tested. |
|
|
|
|
|