lotrointerface.com
Search Downloads


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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Unread 11-26-2011, 09:51 AM
Garan's Avatar
Garan Garan is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Oct 2010
Posts: 344
Shell commands ("slash commands") can not be activated programmatically, they can only be registered, unregistered and iterated programmatically.

You don't need an actual /command, you can monitor the Standard channel for anything generated with Turbine.Shell.WriteLine(). This is easier to implement than the shell command method. The major drawback to using this method is that it will display in the chat window instead of being transparent as the shell command method is. If you are sending lots of information or sending it frequently, it can be a little disruptive to the user. Unfortunately, the WriteLine method bypasses the process that evaluates ";" and "/" tokens so it can not activate shell commands. I have editted my Turbine forum post to mention this option.

Last edited by Garan : 11-26-2011 at 10:05 AM.
Reply With Quote
 



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


All times are GMT -5. The time now is 07:02 AM.


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