|
Shrake Beginner
Joined: 10 Sep 2001 Posts: 26 Location: USA
|
Posted: Mon Jun 21, 2010 7:56 pm
Capture Window |
Hi,
I am using a Trigger I found on the forum:
#TR {{tells you|replies|on ClanTalk|OOC's}} {#CAP Chats}
I like it but I have a couple of questions. I want to make the text bigger and maybe change the color too. I also would like to make it so the text does not show up in the main window.
Thanks,
Shrake |
|
|
|
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: Mon Jun 21, 2010 8:25 pm |
To do the first things, the easiest way is simply to change the font in the Chats window. Each window has it's own settings, so you can click on that window to select it, then click Options to change the settings in that window.
To do the last, just change your trigger value from "{#CAP Chats}" to "{#CAP Chats;#GAG}" |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Mon Jun 21, 2010 8:43 pm |
1a)If you want to make all the text bigger rather than just this one line then you will probably want to look at the Styles Preferences. Color schemes can be found there as well.
1b)for more limited application, you can use the COLOR and FONT MXP tags. FONT I believe also has color support, so you won't necessarily need to use the COLOR tag.
Code: |
<color fore='foreground color' back='background color'>visible text goes here</color>
<font name='font name (ie, Times New Roman)' size=# (other options for fonts that I don't recall)></font> |
COLOR:
the foreground color and background color can be in the form of color words (white, green, olive, etc) or in the RGB format (#FFFFFF, this also has an alternative symbolic but I don't remember what it is). There is probably a third format that works as well, but you should be quite fine with the above two.
FONT:
Not all fonts have the same availability of sizes. Using a size number not associated with that font I believe will simply cause the font tag to do nothing, but it might also do something else instead (ie, unpredictable stuff, or perhaps use the lowest value). Also, mixing font sizes is usually a bad idea. CMud seems to draw each line based on the biggest size specified, so if you make the line smaller then you'll start to see empty pixel space on the top/bottom boundaries; similarly, making the line bigger will cause it to overlap adjacent lines.
If you use the MXP tags, you will need to change your #CAPTURE command to a #EXECWIN command that #PRINTs the line to the other window (if you just use #WINDOW, the text can cause triggers to fire and thus you'd end up in an infinite loop.)
2)check out #GAGSPACE. |
|
_________________ EDIT: I didn't like my old signature |
|
|
|
Shrake Beginner
Joined: 10 Sep 2001 Posts: 26 Location: USA
|
Posted: Mon Jun 21, 2010 8:45 pm |
Hi Rehab,
Thanks for the quick reply. I put that trigger in and I think it is working but I double clicked the window and it went to tab. Now I cannot get it to go back into split screen at top? Nvm I closed tab and then it came back as split screen.
Thanks,
Shrake |
|
|
|
Shrake Beginner
Joined: 10 Sep 2001 Posts: 26 Location: USA
|
Posted: Mon Jun 21, 2010 9:08 pm |
Hi Rehab,
I have a question. The trigger works great but alot of times all of the text does not show up in the window. I get most of the sentence then it cuts off the rest. Is there anything to fix this.
Thanks,
Shrake |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Mon Jun 21, 2010 9:13 pm |
sounds like a mudside wrapping issue. Turn it off, set it to a ridiculously high number, or rewrite the trigger to use multiple states so you can capture the entire channel/tell text.
|
|
_________________ EDIT: I didn't like my old signature |
|
|
|
Shrake Beginner
Joined: 10 Sep 2001 Posts: 26 Location: USA
|
Posted: Mon Jun 21, 2010 9:23 pm |
Hi,
How do you turn off wrapping? or set it to high number?
Thanks,
Shrak |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Mon Jun 21, 2010 10:02 pm |
that's something specific to your game.
|
|
_________________ EDIT: I didn't like my old signature |
|
|
|
Shrake Beginner
Joined: 10 Sep 2001 Posts: 26 Location: USA
|
Posted: Mon Jun 21, 2010 10:20 pm |
Hi,
Ok thanks for your help.
Thanks,
Shrake |
|
|
|
Shrake Beginner
Joined: 10 Sep 2001 Posts: 26 Location: USA
|
Posted: Tue Jun 22, 2010 6:44 pm Rewrite Trigger to use multiple states |
MattLofton wrote: |
sounds like a mudside wrapping issue. Turn it off, set it to a ridiculously high number, or rewrite the trigger to use multiple states so you can capture the entire channel/tell text. |
Hello,
I asked the admin on the Mudd I play and was told that the word wrap is client side and it set to 80. I went into options and turned off wrapping and auto wrap. This did not fix the problem . I was hoping you could help me out with a trigger to use Multiple states to see if this helps.
Thanks,
Shrake |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Tue Jun 22, 2010 6:55 pm |
You haven't provided any details other than that you found someone else's trigger and it's not working correctly for you.
|
|
_________________ EDIT: I didn't like my old signature |
|
|
|
Shrake Beginner
Joined: 10 Sep 2001 Posts: 26 Location: USA
|
Posted: Wed Jun 23, 2010 8:06 am |
Hello,
Sorry I did not give you more information. I am using this trigger :
#TR {{tells|sales|gossip|OOC|you tell}} {#CAP Chats}
I have changed it so it will work on my mud. It does seem to work great except that it does not show all of the words that are sent to me . My mud does not let me turn off word wrapping. I tried turning it off on Cmud but it did not work . I was hoping there was a way around this but if not then I will make do . I will include some examples of tells and gossip so you have an idea of what it looks like.
You tell Sahasrara: How goes it tonight?
Sahasrara tells you: good, u?
[gossip] Sahasrara: "mark" tip of teh day: If you are unable to pick up
some coins off the ground one second, then all of
asudden you can pick up the corpse, you may have
just had an encounter with a thief...
Please let me know if you need more information.
Thanks,
Shrake |
|
|
|
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: Wed Jun 23, 2010 1:07 pm |
You need to tell us a bit more. First, when you quote what the mud is sending, put it between [code]...[/code] tags, so that it will maintain the spacing that is coming from the mud. Second, we will also need to see what signifies the end of the chat message. Do you have a prompt? Or is there some other line at the end of a message?
|
|
|
|
Shrake Beginner
Joined: 10 Sep 2001 Posts: 26 Location: USA
|
Posted: Wed Jun 23, 2010 6:59 pm |
Hello,
I do have a prompt . I cannot see any other indication of the end of the message. I will try to find something that will let you know what can be used.
Thanks,
Shrake |
|
|
|
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: Wed Jun 23, 2010 8:30 pm |
A prompt will do. Just copy an example on the forum again, this time putting it within code tags and including some mud text before and after the piece you want captured.
|
|
|
|
Shrake Beginner
Joined: 10 Sep 2001 Posts: 26 Location: USA
|
Posted: Wed Jun 23, 2010 9:30 pm |
Hello,
I hope this is what you are looking for?:
[You tell Sahasrara: How goes it tonight? /[gossip] Sahasrara: "mark" tip of teh day: If you are unable to pick up
some coins off the ground one second, then all of/[ooc]: Mithras goes mmMMmmMMmmMMmm./You tell yourself: heya]
If this is not what you were looking for let me know.
Thanks,
Strake |
|
|
|
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: Thu Jun 24, 2010 12:36 pm |
Not quite. I don't see any prompts in that quotation, unless the slash is your prompt? Here is what you do. Don't try to type in the stuff from the mud--literally cut and paste it from the mud output. We need to see the actual spacing of the lines. Be sure to include more than just the lines you want captured--get the lines before it and after it, including the prompt. After pasting it into the forum, add the string [code] before the quotation, and the string [/code] after it. It will look something like this:
[code]
myprompt> Some other stuff from the mud.
myprompt> You tell Sahasrara: How goes it tonight?
myprompt> More stuff from the mud.
[/code]
And when you post it to the mud, it will look like this:
Code: |
myprompt> Some other stuff from the mud.
myprompt> You tell Sahasrara: How goes it tonight?
myprompt> More stuff from the mud.
|
|
|
|
|
|
|