![]() |
IRC Information.....
Popups - What they are, and How to make them...
Popup are the menus that appear when you right click with your mouse over a mirc window.
DIFFERENCES WITH ALIASES:
The main difference is that alias are written . I mean you type the order and your mirc execute a previously recorded command.
Well with your popup you use your mouse to do the same
Action. With a right click of your mouse the popup menu
will appear and you can select menu items which you have
defined to perform certain tasks.
* MIRC EDITOR : Press alt+p and you will access your mirc editor on your popup section.
You can also acess your popups mirc editor double clicking on the 6th icon from your left (versions 5.5 and higher) or if you go to Tools/Popups.
Let's check what is in there:
*File: It will help you to load, save and even determine the
kind of font to use.
One important thing to know is that while you can have tons
of aliases files , you only can have one popup file. Its your
popup.ini .So if you load another file the previous one will
disappear.
*Edit: It offers you options to cut and paste, and search routines
*View: Lets you select what popup you want to edit. There are
different popup menus for different windows of mirc:
That way you can store different kind of popup in those
different views. For example those fun popup we all like so
much can be stored in nickname list, and popup with general
info for our users can be stored in channel view.
We use menubar to store
the commands to turn on and off our scripts, and in status we can store
popups to find out info about nicks or channels, or also to authenticate or find out info from w/x.
You can store your popups as you think its better for your needs .
*Popup: Shows an index of the current opened popup menu file.
* POPUP GRAMMAR: Popup have this format: 'menu-item': 'command'
Hello: /me says hello
If we store this line in our popup channel view, and we
right click on main channel window, Hello will appear
There, clicking on it the next sentence will appear on main.
We can organize our popup files in menus, submenus,
To separate menu items , you can use a single '-' dash on a line
By itself .
Now we can complicate things a bit , adding variables to our
popup. For example, we can include a nick in our popup addressing
the sentence to a user on channel. We use view nickname list for it ,
and we add $nick to the sentence.
To make it work we hilite the nick from the nick list in our channel ,
right click and hilite Hello .... voila it works!!! ;o)
* POPUPS AS MRC FILES :
As I said before we can only have one popup.ini file , and this one has limited capacity . So we have invented a little trick ,
we can store our popup files as remote files, a file format called .mrc. The only thing we need to do is address the file to the correct popup view.
To do so we have to start the file with this format :
We can combine different menus in each remote file .This way we can have as many popup file as you need .
Hope this help you , see you in channel
See you in channel :o)
HOBBIT^
![]() |