Hello! I'm not very skilled with LUA yet, but have been able to write my own/remix others. Right now, I've been stuck because I cannot get MUSHclient to do what I want.
The goals of this plugin:
-Make all links clickable.
-Send links to a separate window with a source tag before them(1)
-Prevent content from sub-Worlds(2) (channel chats a la Rod Chat plugin) that has hyperlinks from sending a copy to the original World.
-Preserve original content in original World(3)
1 - (I.E., Channel Chats with a link would be like...
[Civic] http://www.google.com <-- So far I can do this, but it breaks when I use tells/ooc.
2 - I'm okay with it not being clickable in the sub-Worlds, and showing just the clickable link in the history window (which I've been able to do successfully).
3 - I was able to do this without the clickable links, however, it would also send the text + clickable link to the main window.
Here's the meat of the code, line ~130 is where the crux of what I'm talking about is:
https://pastebin.com/kKwM5tHY
I'm hoping for some help. Again, what I'd like to do is have every World and sub-World (a la Rod Chats - I have 3, Channel Chats, OOC, and a Notifications window (only the Channel Chats and OOC sub-Worlds need this). Here's what I've managed to piece together using the Hyperlink_URL2 plugin, the Rod Chat plugin, and another URL handler a friend wrote for me.
I'd really appreciate it if someone could point me in the right direction - I'm not asking for a solution (though that would be awesome), but where I should start looking for information on how to make this work.
The goals of this plugin:
-Make all links clickable.
-Send links to a separate window with a source tag before them(1)
-Prevent content from sub-Worlds(2) (channel chats a la Rod Chat plugin) that has hyperlinks from sending a copy to the original World.
-Preserve original content in original World(3)
1 - (I.E., Channel Chats with a link would be like...
[Civic] http://www.google.com <-- So far I can do this, but it breaks when I use tells/ooc.
2 - I'm okay with it not being clickable in the sub-Worlds, and showing just the clickable link in the history window (which I've been able to do successfully).
3 - I was able to do this without the clickable links, however, it would also send the text + clickable link to the main window.
Here's the meat of the code, line ~130 is where the crux of what I'm talking about is:
https://pastebin.com/kKwM5tHY
I'm hoping for some help. Again, what I'd like to do is have every World and sub-World (a la Rod Chats - I have 3, Channel Chats, OOC, and a Notifications window (only the Channel Chats and OOC sub-Worlds need this). Here's what I've managed to piece together using the Hyperlink_URL2 plugin, the Rod Chat plugin, and another URL handler a friend wrote for me.
I'd really appreciate it if someone could point me in the right direction - I'm not asking for a solution (though that would be awesome), but where I should start looking for information on how to make this work.