copy a PrivateMessage user name into clipboard
Added by Eduardo Bedoya about 9 years ago
Hi, I know this may sound like a kinda a silly question, but Im new at AdiIRC
Is any type of command to automatically get the user name to which Im talking in a private Msg?
I mean I know it can be done using regex, but has AdiIRC any specific command to do that?? thanks Advanced.
Replies (9)
RE: copy a PrivateMessage user name into clipboard - Added by Per Amundsen about 9 years ago
In the private window you can type //clipboard $active (notice the 2 slashes). See also $query and Tabcomplete.
RE: copy a PrivateMessage user name into clipboard - Added by Eduardo Bedoya about 9 years ago
thanks Amundsen,
so this is the scripting language that is the same as mIRC.
isn't there one command to get the user message as well? Can the $msgstamp command help me with that?
I know AdiIRC automatically copies everything that is selected, but is there any command to automatically do it without selecting anything?
Thanks Advanced.
RE: copy a PrivateMessage user name into clipboard - Added by Per Amundsen about 9 years ago
Not sure what you mean by getting the user message.
RE: copy a PrivateMessage user name into clipboard - Added by Eduardo Bedoya about 9 years ago
oh, sorry, let me explain
when you enter in a channel, and someone talks to you, so a private message tab appears (the one with the icon of the yellow head)
inside that private message tab, there is the message (the text) that that person sent you, I was wondering if there is a command to automatically copy that message without having to select it.
Thanks Advanced.
PD: also I have notice that when many people talk to you and you have not respond them all, the private message tabs (the ones with the yellow head icon) blinks unceasingly, is there any way to change that???
Thanks Advanced Again man. Thanks four your support.
RE: copy a PrivateMessage user name into clipboard - Added by Per Amundsen about 9 years ago
There is no way to automatically copy text.
It could be scripted, either at the moment you receive the message (each new message would then be copied to clipboard, seems like a bad idea)
Or you can create a command to get the last line in the current window, something like:
alias copymessage { clipboard $line($target, $line($target, 0)) }
RE: copy a PrivateMessage user name into clipboard - Added by Per Amundsen about 9 years ago
You can disable private message blinking by unchecking Options -> Highlights -> "Flash on private message"
RE: copy a PrivateMessage user name into clipboard - Added by Eduardo Bedoya about 9 years ago
Hi Amundsen
I typed...
/alias copymessage {
clipboard $line($target, $line($target, 0))
}
- Added 'copymessage' alias
how do I apply that command then?? I tried "/copymessage" alias and ";copymessage" alias with no result
Thanks Advanced.
RE: copy a PrivateMessage user name into clipboard - Added by Per Amundsen about 9 years ago
Try this instead, I made it in "script" format instead of alias format.
/alias copymessage clipboard $line($target, $line($target, 0))
Then you should be able to just type /copymessage in a private window.
RE: copy a PrivateMessage user name into clipboard - Added by Eduardo Bedoya about 9 years ago
Thanks Amundsen,
it worked, but it only copied the last line, is there a way that it to could copy all the content of that private message tab?? not necesarilly all the history between me and that username (nick) but only all the content inside that private message tab (I say so, cuz I always close private message tabs I reply them)
thanks advanced.