Quantcast
Plugin Macros - LoTROInterface
lotrointerface.com
Search Downloads


Go Back   LoTROInterface > LotRO > Developer Discussions > Lua Programming Help (L)

Reply
Thread Tools Display Modes
  #1  
Unread 12-21-2021, 12:53 PM
goldbishop goldbishop is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Nov 2010
Posts: 30
Plugin Macros

I am looking to have a ShellCommand associated with my plugin but need help in knowing how to setup the command and associating it with a button click.

Not finding any complete tutorials on how to create a command, implement the logic, and then tying it together with a button or other user action.
Reply With Quote
  #2  
Unread 12-21-2021, 03:16 PM
Garan's Avatar
Garan Garan is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Oct 2010
Posts: 317
Quote:
Originally Posted by goldbishop
...Not finding any complete tutorials on how to create a command, implement the logic...
That's because the LotRO Lua API specifically prohibits such actions to prevent botting.
Reply With Quote
  #3  
Unread 12-21-2021, 04:53 PM
goldbishop goldbishop is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Nov 2010
Posts: 30
I never said anything about botting....it really is sad that was your first goto for a response.

Setting up a command and associating to a button, is hardly botting.
Reply With Quote
  #4  
Unread 12-21-2021, 05:11 PM
JohnMHammer's Avatar
JohnMHammer JohnMHammer is offline
The Wary
Interface Author - Click to view interfaces
 
Join Date: Dec 2020
Posts: 4
What you are planning is not botting. But if it were possible to do what you wish using the tools provided by LOTRO's flavor of LUA, those same functions could be used to create bots. That is why those functions are not available. And that is all Garan meant, he was not accusing you of anything.
Reply With Quote
  #5  
Unread 12-25-2021, 01:09 PM
lunarwtr's Avatar
lunarwtr lunarwtr is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Feb 2011
Posts: 117
Quote:
Originally Posted by goldbishop
I am looking to have a ShellCommand associated with my plugin but need help in knowing how to setup the command and associating it with a button click.

Not finding any complete tutorials on how to create a command, implement the logic, and then tying it together with a button or other user action.
https://www.lotrointerface.com/downl...-Waypoint.html

registers chat command for registering location you want it to direct you to.
Code:
/way target 21.4S 45W
Is this what you are looking for an example to?
__________________
Author of Lotro Compendium, Waypoint, and Lotro Plugin Compendium (LPC)
Reply With Quote
  #6  
Unread 12-25-2021, 07:54 PM
goldbishop goldbishop is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Nov 2010
Posts: 30
Quote:
Originally Posted by lunarwtr
https://www.lotrointerface.com/downl...-Waypoint.html

registers chat command for registering location you want it to direct you to.
Code:
/way target 21.4S 45W
Is this what you are looking for an example to?
So there is no way to associate
Code:
/way target
with a button control? So it is clickable instead of a chat-command.
Reply With Quote
  #7  
Unread 12-26-2021, 10:06 AM
lunarwtr's Avatar
lunarwtr lunarwtr is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Feb 2011
Posts: 117
create a shortcut for your slash command, then keybind possibly. Been a few years since I've played lotro tbo.

/shortcut <slot #> <your slash command here>
__________________
Author of Lotro Compendium, Waypoint, and Lotro Plugin Compendium (LPC)
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Plugin] DebuffVitals - new plugin for raiding and instances Grimmerthan Released Interfaces (L) 0 09-29-2018 12:19 PM
Add a plugin to plugin compendium glafria General Authoring Discussion (L) 4 06-02-2016 01:20 PM


All times are GMT -5. The time now is 05:52 AM.


Our Network
EQInterface | EQ2Interface | Minion | WoWInterface | ESOUI | LoTROInterface | MMOUI | Swtorui