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 ➜ Plugins ➜ Generic_Chat_Miniwindow

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,533 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 Fiendish   USA  (2,533 posts)  Bio   Global Moderator
Date Reply #3 on Thu 04 Jun 2020 04:36 AM (UTC)

Amended on Thu 04 Jun 2020 04:37 AM (UTC) by Fiendish

Message
Template:pasting For advice on how to copy the above, and paste it into MUSHclient, please see Pasting XML.

https://github.com/fiendish/aardwolfclientpackage
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,533 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.


15,689 views.

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.