PM Blocker
mIRC Code
+ 0 likes
Please Register to submit score.
| Average Score | 6.3 |
| Scores Submitted | 4 |
| Date Added | Dec 10, 2007 |
| Last Updated | Dec 10, 2007 |
| Tags | blocker p2p pm |
|
|
Introduction
*To Open type /dialog -m pmblocker pmblocker
or right click on any mirc window and click on "Pm Blocker"
mIRC Snippet:
PM Blocker
Posted on Dec 10, 2007 7:02 pm
Posted on Dec 10, 2007 7:02 pm
i found a lot of things wrong with this script :/
*if u try to open the dialog with the menu when its open, it gives an error (solve with $iif and dialog +v/+m)
*if you arent connected or arent on a channel, it gives an /amsg error
*if you pm urself, it goes nuts until you turn it off (when you pm urself that u dont accept pms, it just keeps going on and on with the on open)
*the pms blocked () duznt update unless u refresh the dialog
suggestion: i would disable the on/off button when you click it so that you know whether its on/off
but other than that, i guess it serves its main purpose under the correct circumstances
*if u try to open the dialog with the menu when its open, it gives an error (solve with $iif and dialog +v/+m)
*if you arent connected or arent on a channel, it gives an /amsg error
*if you pm urself, it goes nuts until you turn it off (when you pm urself that u dont accept pms, it just keeps going on and on with the on open)
*the pms blocked () duznt update unless u refresh the dialog
suggestion: i would disable the on/off button when you click it so that you know whether its on/off
but other than that, i guess it serves its main purpose under the correct circumstances
mIRC Snippet:
PM Blocker
Posted on Dec 10, 2007 9:27 pm
Posted on Dec 10, 2007 9:27 pm
One issue, Mountaindew. If someone isn't connected, do they expect to get a PM? Also, why would anyone PM themselves?
Little nitpicky thing I am. Sorreh.
Little nitpicky thing I am. Sorreh.
mIRC Snippet:
PM Blocker
Posted on Dec 10, 2007 9:50 pm
Posted on Dec 10, 2007 9:50 pm
Yes, but the script can be enabled and disabled while disconnected. If you enable it or disable it while disconnected, the script will amsg. Thus giving an error.
mIRC Snippet:
PM Blocker
Posted on Dec 11, 2007 1:53 pm
Posted on Dec 11, 2007 1:53 pm
so maybe u shuold do like
| Code: |
menu channel { $iif(!$server,$style(2)) PM Blocker: $iif($server,dialog $iif($dialog(pmblocker),-v,-m) pmblocker pmblocker) } |








