Add a custom button in "Nicklist Buttons"
Added by Santosh Kumar almost 9 years ago
Hello,
I am very new to AdiIRC, so my applogy in advance if it is a silly question.
I want to add a new button "Phone" alone with the other buttons in "Nicklist Buttons".
I added below line in the "nicklistbuttons.ini" file:
Phone:/run http://mywebsite.com/$$1
The "Phone" buttom is being displayed, but when i click on it I get a URL "http://mywebsite/$$1" open in my browser but I was expecting url "http://mywebsite/mynick" to be open, because the nick i have selected in the nick window is "mynick".
Can anyone guide me what i am doing wrong here? and how to fix it?
Thank you.
Replies (2)
RE: Add a custom button in "Nicklist Buttons" - Added by Per Amundsen almost 9 years ago
Add a $+ between /run http://mywebsite.com/ and $$1.
Variables needs a space in front of them to be evaluated.
/run http://mywebsite.com/ $+ $$1
RE: Add a custom button in "Nicklist Buttons" - Added by Santosh Kumar almost 9 years ago
Thank you so much.
It worked.