mIRC Home    About    Download    Register    News    Help

Print Thread
#261582 20/10/17 02:15 AM
Joined: Mar 2015
Posts: 26
A
Anti Offline OP
Ameglian cow
OP Offline
Ameglian cow
A
Joined: Mar 2015
Posts: 26

Hello,

I'm looking for add to a and of a url the nick in a pop up,
something like this:

/msg $$1 http://my_url_for_a_friend?$$1

with the nick name after the question command.
How may I do this ?

Thank you

Anti #261584 20/10/17 02:58 AM
Joined: Jan 2004
Posts: 2,127
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2004
Posts: 2,127
It's hard to understand your broken english. Best I can understand is that you want to have something where if the nick is ABCD you want to message a url like http://yahoo.com?ABCD

If that's correct, go to the remote script editor, then click on POPUP tab. From that window's "view" menu, choose #4 "Nick List" to see the popups when right-click in nick list. At the bottom you see a line:

Slap!:/me slaps $$1 around a bit with a large trout

Below that put:

Your Label $$1:/msg $$1 http://yahoo.com $+ $chr(63) $+ $$1

Be sure to click OK before leaving that window. Whatever you use instead of "your label" will appear in the right-click menu below "Slap!". $chr(63) is the "?" question symbol, and $+ joins strings together.

If this isn't what you want, please explain again more clearly.

maroon #261586 20/10/17 07:05 AM
Joined: Feb 2003
Posts: 2,812
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
Question: How to concatenate two strings?

Answer1: Use $+ between two strings.
Example1: Hello $nick $+ , and welcome to $chan $+ !

Answer2: Pass multiple strings through the function $+(string,string,string,...)
Example2: Hello $+($nick,$chr(44)) and welcome to $+($chan,!)


Well. At least I won lunch.
Good philosophy, see good in bad, I like!

Link Copied to Clipboard