Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to "verify" your details, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.
 Entire forum ➜ MUSHclient ➜ Tips and tricks ➜ How to make a separate chats window

How to make a separate chats window

It is now over 60 days since the last post. This thread is closed.     Refresh page


Pages: 1  2  3  4  5  6  7  8 

Posted by Fiendish   USA  (2,533 posts)  Bio   Global Moderator
Date Reply #105 on Tue 03 Sep 2013 01:55 AM (UTC)
Message
Quote:
This is a great plugin and all, and I use it quite successfully on the Discworld MUD.. However, how can I put this exact same redirect script into a mini window with a context menu to choose which channels/chats to echo in the main output (like the Aardwolf chat window), instead of a world window?

If you want features from plugins written for the Aardwolf client package, copy from the plugin source files. They're not exactly hidden.

There are also (somewhat old) threads here:
http://www.gammon.com.au/forum/bbshowpost.php?id=10728&page=1
and here:
http://www.gammon.com.au/forum/?id=10143

Broken links to my repository found in those threads are probably corrected later in the threads, so keep reading if you hit a dead link.

https://github.com/fiendish/aardwolfclientpackage
Top

Posted by Tolveor   (1 post)  Bio
Date Reply #106 on Thu 20 Mar 2014 05:15 AM (UTC)
Message
Hi guys,
I'm struggling with a script that is related to this. Basically what i want to do is to capture the chats but not send it to another window. Instead i want an alias to print a stored set of say 10 or 15 chats to the main world. Honestly i'm not even sure how to start, but it looks related to this topic at least so thought id start here.

Any help would be appreciated, not necesarrily in the form of written code, but any references, links, a push in the right direction etc would be welcome.
Thanks!
Tom
Top

Posted by Nick Gammon   Australia  (23,068 posts)  Bio   Forum Administrator
Date Reply #107 on Tue 25 Mar 2014 08:16 PM (UTC)
Message
Start a new thread, I suggest. Reference this one if you like, but this is really a different topic.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Deramius   (12 posts)  Bio
Date Reply #108 on Fri 09 May 2014 09:21 PM (UTC)

Amended on Fri 09 May 2014 09:29 PM (UTC) by Deramius

Message
What is the "styles" variable that you are iterating through? I've seen it in several places/scripts but never explained.
Top

Posted by Nick Gammon   Australia  (23,068 posts)  Bio   Forum Administrator
Date Reply #109 on Sat 10 May 2014 05:35 AM (UTC)
Message
See here for some explanation:

http://www.gammon.com.au/scripts/doc.php?dialog=IDD_EDIT_TRIGGER

(This is available under the edit triggers help).

Basically all data in the output window (output buffer) is organized into style runs, where one run consists of one or more characters with the same colour, boldness, italicness, etc.

So to copy the colours from one window to another (or a miniwindow) you need to take into account the colours returned by that portion of a style run.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Deramius   (12 posts)  Bio
Date Reply #110 on Sat 10 May 2014 04:45 PM (UTC)
Message
Are you required to include the "Styles" parameter in the formal parameters of a function or is it optional?

If it's optional, are there are other parameters that are optional?
Top

Posted by Nick Gammon   Australia  (23,068 posts)  Bio   Forum Administrator
Date Reply #111 on Sun 11 May 2014 05:12 AM (UTC)
Message
In Lua it is optional. There are no other optional arguments.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


393,460 views.

This is page 8, subject is 8 pages long:  [Previous page]  1  2  3  4  5  6  7  8 

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.