Gammon Forum
See www.mushclient.com/spam for dealing with forum spam.
Please read the MUSHclient FAQ!
Entire forum
MUSHclient
Plugins
Generic_Chat_Miniwindow
It is now over 60 days since the last post. This thread is closed.
 
Refresh page
| Posted by |
Kessen
(3 posts) bio
|
| Date |
Wed 03 Jun 2020 05:40 PM (UTC) |
| Message |
Hi,
Im trying to get this plugin to work.
https://github.com/nickgammon/plugins/blob/master/Generic_Chat_Miniwindow.xml
I am afraid I do not understand what its asking me to do.
""
Call this plugin by making as many triggers as you want in your main
world file (or other plugins) and then passing the style runs to this
plugin like this:
function chattrigger (name, line, wildcards, styles)
require "serialize"
check (CallPlugin ("10778718503f0c91106745f5",
"display", serialize.save_simple (styles)))
end -- chattrigger
""
Could someome please give me an example of a trigger it is asking for? | top |
|
| Posted by |
Fiendish
USA (2,315 posts) bio
Global Moderator |
| Date |
Reply #1 on Thu 04 Jun 2020 02:01 AM (UTC) |
| Message |
The thread where Nick put that together will probably help you.
See the end of reply 4 in https://www.gammon.com.au/forum/?id=12855&reply=4#reply4
Or search on that page for "Now, make whatever triggers you want in your main world file, for example like this:" |
https://github.com/fiendish/aardwolfclientpackage | top |
|
| Posted by |
Kessen
(3 posts) bio
|
| Date |
Reply #2 on Thu 04 Jun 2020 02:50 AM (UTC) |
| Message |
Thanks for the link.
Do I put this inside the "trigger" options or do i need to make a script file and put that somewhere?
<triggers>
<trigger
enabled="y"
match="You say '*'"
omit_from_output="y"
script="chattrigger"
sequence="100"
>
</trigger>
</triggers>
| top |
|
| Posted by |
Kessen
(3 posts) bio
|
| Date |
Reply #4 on Thu 04 Jun 2020 01:20 PM (UTC) |
| Message |
I got in to send chats to the miniwindow, but am now getting this error every time.
Compile error
World: Haven of the Embraced
Immediate execution
[string "Trigger: "]:1: '=' expected near 'say'
| top |
|
| Posted by |
Fiendish
USA (2,315 posts) bio
Global Moderator |
| Date |
Reply #5 on Thu 04 Jun 2020 04:07 PM (UTC) Amended on Thu 04 Jun 2020 04:08 PM (UTC) by Fiendish
|
| Message |
| I can't help you if you don't show what you did. |
https://github.com/fiendish/aardwolfclientpackage | 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.
2,041 views.
It is now over 60 days since the last post. This thread is closed.
 
Refresh page
top
Quick links:
MUSHclient.
MUSHclient help.
Forum shortcuts.
Posting templates.
Lua modules.
Lua documentation.
Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.