mIRC Home    About    Download    Register    News    Help

Print Thread
#205674 28/10/08 11:40 AM
Joined: Oct 2008
Posts: 6
X
xoxoxz Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
X
Joined: Oct 2008
Posts: 6
How do I quote a user nick?

Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031

huh?

Joined: Oct 2008
Posts: 6
X
xoxoxz Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
X
Joined: Oct 2008
Posts: 6
I mean, if there is someone called "Exodus|thunder^", how can i say his nick without typing it.


Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
If you're using a script, and replying to a message sent by "Exodus|thunder^", then you can use $nick in your reply.
If you just want to send them a message, without having to type the whole name, you might be able to get away with typing "Ex" (without the ""), then hit the tab key. This last method will depend on how many names in the nicklist begin with "ex"

Joined: Oct 2008
Posts: 6
X
xoxoxz Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
X
Joined: Oct 2008
Posts: 6
thanks m8 worked fine ^^
im using nnscript


is there a way to do the same clicking on a nick? For example, i used to be in a chat where if u clicked with the mouse middle button in a nick, u automatically quoted it

Joined: Nov 2006
Posts: 1,559
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Nov 2006
Posts: 1,559
AFAIK there's no easy way to assign an action to a "single middle mouse button click on a nick". ("on hotlink"-events will come into conflict with the default mouse event settings).
But if "double-click the nick" (in nicklist or channel text) is OK, you could replace your current "double-click on nick" action (whatever it is) with the one requested.

To do this, go to options > irc > mouse > "command to perform on nick double-click:". In the box for "nicklist", you enter:
Code:
nickclick $$1


Then, add a new alias to your aliases section (scripts editor, tab "aliases"):
Code:
nickclick { editbox -ap $editbox($active) $$1 }
...This will add the nick you clicked to the end of the current line of the editbox of the channel.


If instead you want the current line to hold only the nick (clearing all existing text in the editbox):
Code:
nickclick { editbox -ap $$1 }



And if you like, you can add control codes or extra chars arround the $$1 part (representing the nick), e.g.:
Code:
nickclick { editbox -ap 7[ $$1 7] }



Joined: Oct 2008
Posts: 6
X
xoxoxz Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
X
Joined: Oct 2008
Posts: 6
Thats EXACTLY what i was looking for.

Thanks a lot m8, u rock smile

Last edited by xoxoxz; 28/10/08 07:54 PM.
Joined: Oct 2008
Posts: 6
X
xoxoxz Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
X
Joined: Oct 2008
Posts: 6
Just a final question.

Now I cant open query when double click in a nick in the nicklist.
How could I add an option to the right click menu to show a query option?

Something like this



Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031

Hit Alt+P to open the script editor to the Popups tab, then in the View menu select Nick List, then add the following on its own line...

Query:query $$1

Joined: Oct 2008
Posts: 6
X
xoxoxz Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
X
Joined: Oct 2008
Posts: 6
Nice!

Thanks to you all guys ^^


Link Copied to Clipboard