mIRC Home    About    Download    Register    News    Help

Print Thread
#126410 29/07/05 12:16 PM
Joined: Feb 2005
Posts: 344
B
Fjord artisan
OP Offline
Fjord artisan
B
Joined: Feb 2005
Posts: 344
I got this script that gives a custom channel popup menu.
only problem is it doesn't work on rclick because i dont know howto link the alias to the rclick.
the alias is like this:
alias popup_test {
But how do i link that to rclick?
something like:
if ( ........ == rclick) { popup_test }

please help me....

Greetzz

#126411 29/07/05 01:09 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Use a menu.
Code:
menu channel {
  My Popup:popup_test
}


Invision Support
#Invision on irc.irchighway.net
#126412 29/07/05 02:40 PM
Joined: Feb 2005
Posts: 344
B
Fjord artisan
OP Offline
Fjord artisan
B
Joined: Feb 2005
Posts: 344
someone just told me it can't be done ... only with dll.
so i made a channel popup menu with popups.dll.
same problem here how do i open it in a channel ?

#126413 29/07/05 03:18 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Well...

Sicne there is already a right click menu in the channel, right clicking and getting 2 popups wouldn't be good.

It's usually easier to use menu like I said and make your own commands that way.

Code:
menu channel {
  My Menu
  .Level One
  ..Level Two
  ...Level Three://echo -a Hi.
}


Yes, you can use dlls to do menus and popups and such. But often they really aren't needed.


Invision Support
#Invision on irc.irchighway.net
#126414 29/07/05 03:23 PM
Joined: Feb 2005
Posts: 344
B
Fjord artisan
OP Offline
Fjord artisan
B
Joined: Feb 2005
Posts: 344
i know there is but i want to make it with icon and colors.
that why i used first the script and now the popups.dll

#126415 29/07/05 06:04 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Ok, I didn't know you were looking into doing that. smile

The only way might be to load your dll by using the normal right click menu... I'm not sure. I don't really use DLLs much with my scripts. Maybe someone else has a better idea.


Invision Support
#Invision on irc.irchighway.net
#126416 30/07/05 05:13 PM
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
The only way you can open the menu when you right click in a channel is by calling the command that has all of the popup dll code as an identifier:

Code:
alias openpopup {
  <code to make popup using dll here>
}
menu channel {
  $openpopup
}


You should know you'll hear an annoying beep whenever you open the menu though.


New username: hixxy
#126417 31/07/05 08:31 PM
Joined: Feb 2005
Posts: 344
B
Fjord artisan
OP Offline
Fjord artisan
B
Joined: Feb 2005
Posts: 344
any way of loosing the beep ?

#126418 31/07/05 08:46 PM
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
Not that I know of.


New username: hixxy
#126419 31/07/05 09:33 PM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
turn off his speakers?

#126420 01/08/05 05:36 AM
Joined: Feb 2005
Posts: 344
B
Fjord artisan
OP Offline
Fjord artisan
B
Joined: Feb 2005
Posts: 344
LOL RusselB


Link Copied to Clipboard