Download
(1Kb)
Download
Updated: 09-11-13 03:13 AM
Pictures
File Info
Updated:09-11-13 03:13 AM
Created:04-19-13 08:23 AM
Downloads:1,336
Favorites:7
MD5:

LineSplit

Version: 1.1-50400
by: Dridzt [More]

Allows the user to submit multi-line comments in chat using in-line \n (the newline character).

I'm usually the "quick macro" guy in our raids when we need a targeting or special ability helper.
For example our typical "one button CC macro" for adds in Wind Lord Mel'jarak encounter.

/target focus
/click ExtraActionButton1
/targetlasttarget
To let players quickly get their assigned target and re-apply CC with 1 button.

My LineSplit addon allows me to type the above in one line and have it sent to chat in one-go without other text being interspersed as I'm typing 2nd or 3rd line.
It's a simple convenience

There are no options, you just put it in your addon folder and it works.
You can then type something like: /target focus\n /click ExtraActionButton1\n /targetlasttarget
in any channel and it will properly split to 3 lines.

* New in v1.1
Can send to different channels. Example:
Typing 'Yes indeed.\n /em nods as he replies.' in /say (without the quotes) will do
[Player] says: Yes indeed.
Player nods as he replies.
Borrowed from Ahnji's feature request.

There used to be an ancient addon I was using in classic WoW by Guillotine that did something similar but I've long lost it and forgot its name, so I coded this as a replacement

v1.1-50400
-----------
- toc update, compatible with WoW 5.4.0 "Siege or Orgrimmar"

v1.1-50300
-----------
- .toc update, compatible with WoW 5.3 "Escalation"

v1.1-50200
-----------
- Limited support for combining different channels in multiline messages.
- Remove an unintended global.
Optional Files (0)


Post A Reply Comment Options
Unread 04-19-13, 03:38 PM  
Be3f.
A Theradrim Guardian
 
Be3f.'s Avatar

Forum posts: 65
File comments: 27
Uploads: 0
Could be useful, thanks !
__________________
-- Be3f.
Report comment to moderator  
Reply With Quote
Unread 04-22-13, 08:09 PM  
Ahnji
A Kobold Labourer

Forum posts: 0
File comments: 14
Uploads: 0
I was curious (and this may be a shortcoming of WoW not the addon per se) but it doesn't interpret slash commands when spliting the lines. Let me give an example for RP purposes, since this is what I wanted to use this for ever since Tongues lost this functionality.

Sometimes I want my toon to say something and emote something at the exact same time.
ie.:
[Ahnji] says: Yes indeed.
Ahnji nods as he replies.

I tried doing: Yes indeed.\n /e nods as he replies.
This didn't work as I got the following:
[Ahnji] says: Yes indeed.
[Ahnji] says: /e nods as he replies.

So what are the thoughts? Is it a WoW client issue? Or just something the addon wasn't meant to handle?

Thanks a bunch.
Report comment to moderator  
Reply With Quote
Unread 04-22-13, 10:41 PM  
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1359
File comments: 829
Uploads: 55
Originally Posted by Ahnji
I was curious (and this may be a shortcoming of WoW not the addon per se) but it doesn't interpret slash commands when splitting the lines.
It's a combination of both so to speak.
The way this works is it gets the chatType (you can think of this as the channel of communication) from the chat in which you type the whole message.

So yea it doesn't work for a mix of channels (in the same way you can't mix /say with /em you also cannot mix /say with /party and /raid).

I'll take a look at it but frankly that wasn't a functionality I envisioned when I created it
Report comment to moderator  
Reply With Quote
Unread 04-22-13, 10:47 PM  
Ahnji
A Kobold Labourer

Forum posts: 0
File comments: 14
Uploads: 0
Originally Posted by Dridzt
I'll take a look at it but frankly that wasn't a functionality I envisioned when I created it
Ah okies I see. Well, I'll keep my fingers crossed I've sorely missed being able to do this since it disappeared from Tongues and thought Finally! Here's a solution!!
Report comment to moderator  
Reply With Quote
Unread 04-22-13, 11:02 PM  
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1359
File comments: 829
Uploads: 55
Originally Posted by Ahnji
Originally Posted by Dridzt
I'll take a look at it but frankly that wasn't a functionality I envisioned when I created it
Ah okies I see. Well, I'll keep my fingers crossed I've sorely missed being able to do this since it disappeared from Tongues and thought Finally! Here's a solution!!
To expand a little on my answer.
It was a conscious choice to handle the text after the game client has decided it's actually a message.

Because many commands are protected (eg. /target /focus /mt /ma /mtoff /wm and the list goes on)
I would have to do alot of checks to avoid triggering action_blocked errors and taint.

But anyway it's an interesting question so I'll see if I can do it safely (and without over-complicating things)
No promises on timeframe.
Report comment to moderator  
Reply With Quote
Unread 04-23-13, 09:17 AM  
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1359
File comments: 829
Uploads: 55
v1.1

Latest version should have the functionality you were looking for.

You can now mix and match some channels in your multi-line message by typing out the channel commands in-line.
"Test\n/e tests emotes\n/5 and channels."
should work by sending
[Player]: Test (to whatever chat channel you opened initially)
Player tests emotes (as an emote)
5: and channels. (to the global or custom channel occupying the 5th slot)
Report comment to moderator  
Reply With Quote
Unread 04-23-13, 07:08 PM  
Ahnji
A Kobold Labourer

Forum posts: 0
File comments: 14
Uploads: 0
Re: v1.1

Originally Posted by Dridzt
Latest version should have the functionality you were looking for.

You can now mix and match some channels in your multi-line message by typing out the channel commands in-line.
"Test\n/e tests emotes\n/5 and channels."
should work by sending
[Player]: Test (to whatever chat channel you opened initially)
Player tests emotes (as an emote)
5: and channels. (to the global or custom channel occupying the 5th slot)
Very awesome sir. I will give it a test run tonight!
Report comment to moderator  
Reply With Quote
Unread 04-23-13, 07:53 PM  
Ahnji
A Kobold Labourer

Forum posts: 0
File comments: 14
Uploads: 0
You sir are a rock star. The addon is doing exactly what I was hoping it would. And with being able to add multiple line breaks, I'm not limited to two lines per se like I was with Tongues. I will make sure to spread the word about your addon to my fellow RPers and raid leads
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: