Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, 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.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ Lua
➜ Mini-window Chat
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Halig
Portugal (123 posts) Bio
|
Date
| Tue 10 Mar 2015 11:10 AM (UTC) |
Message
| Hello to all.
I've been looking for a mini-window that saves the chat's on the MUD. I know that they are lot's of examples there, i'm trying to get the one from Fiendish to work.
I only need 5 channels, pray, tell, imm, hero and clan.
The syntax are as follow:
(.*) tells you (.*) - Tell channel
[(.*)]: (.*) - Imm channel
(.*) HEROs (.*) - Hero channel
(.*) Prays: (.*) - Pray channel
[(.*)] (.*) Clans: (.*) - Clan channel
Fiendish, if you could help me changing you plugin, cause i love the scroll bar and the fact that it keeps the colours that are originaly in the Output window.
Thank you. | Top |
|
Posted by
| Nick Gammon
Australia (23,140 posts) Bio
Forum Administrator |
Date
| Reply #1 on Tue 10 Mar 2015 08:47 PM (UTC) |
Message
| Just change the triggers it matches on. Have you tried that? |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Halig
Portugal (123 posts) Bio
|
Date
| Reply #2 on Tue 10 Mar 2015 08:50 PM (UTC) |
Message
| Yes Nick, i did. But there are variables, functions more down that call things related to the channels that Fiendish uses. That's why i asked. Cause i only need those channels and the fact that his window has scroll, and that is important to me.
And i can't find the dependencies, like *.lua that he uses. I found one of them, and lot's of errors stop appearing, but there are more files that i'm missing. | Top |
|
Posted by
| Fiendish
USA (2,535 posts) Bio
Global Moderator |
Date
| Reply #3 on Tue 10 Mar 2015 10:14 PM (UTC) |
Message
| Are you trying to modify the one from the Aardwolf package itself or the one that Nick posted to the forum here a while ago? |
https://github.com/fiendish/aardwolfclientpackage | Top |
|
Posted by
| Halig
Portugal (123 posts) Bio
|
Date
| Reply #4 on Wed 11 Mar 2015 06:42 AM (UTC) |
Message
| The one from the Aardwolf. I've search the forum, i didn't find anyone like yours, that keeps the original colour of the channel and that has scroll. That's the things i need, only that. The things if you right click, i don't need. I need to keep it simple.
Thank you | Top |
|
Posted by
| Halig
Portugal (123 posts) Bio
|
Date
| Reply #5 on Wed 11 Mar 2015 01:31 PM (UTC) |
Message
| Thank you the both of you. I've manage to get the one from Nick's working. It took me a while, but it is working :). | Top |
|
Posted by
| Fiendish
USA (2,535 posts) Bio
Global Moderator |
Date
| Reply #6 on Wed 11 Mar 2015 01:50 PM (UTC) |
Message
| Yeah, the one from Aardwolf package has a lot of code like GMCP handlers and stuff that is specifically written for Aardwolf. It diverged rather significantly from the much more simple format it used to have back when I was just experimenting with the concept of scrolling and resizing.
One of these days I'd love to go back and completely rewrite the whole thing to use modular and composable "text area" and "scrollbar" and "resizer" widgets. I have a pretty specific grand vision of how it would work, preserving all current functionality without breaking abstractions. But I may never get to it, and until then http://mushclient.com/forum/bbshowpost.php?id=10728 is an old version that works for any output. |
https://github.com/fiendish/aardwolfclientpackage | Top |
|
Posted by
| Halig
Portugal (123 posts) Bio
|
Date
| Reply #7 on Wed 11 Mar 2015 02:23 PM (UTC) |
Message
| I see. It would be great :). Fiendish, tell me something, on the Nick's window, is it possible to create an alias to just clean all the window? the things inside it. | Top |
|
Posted by
| Fiendish
USA (2,535 posts) Bio
Global Moderator |
Date
| Reply #8 on Wed 11 Mar 2015 03:59 PM (UTC) |
Message
| |
Posted by
| Halig
Portugal (123 posts) Bio
|
Date
| Reply #9 on Wed 11 Mar 2015 04:02 PM (UTC) |
Message
| I'm sorry man, i've read that and still i can't get there. It must be easy to do, but my brain is slow i think. | Top |
|
Posted by
| Nick Gammon
Australia (23,140 posts) Bio
Forum Administrator |
Date
| Reply #10 on Wed 11 Mar 2015 07:58 PM (UTC) |
Message
| I think he is referring to doing a WindowRectOp to clear the window. Or maybe you just need to clear the remembered text of recent chats. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Halig
Portugal (123 posts) Bio
|
Date
| Reply #11 on Wed 11 Mar 2015 08:08 PM (UTC) |
Message
| Done it. Thank you all. | 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.
30,227 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top