Edit: I added an on exit event to set your dnd off when you shut down mIRC.
DND System
.Turn On/Off
..On:set %dnd on | amsg [ DND is ON ][ I am not accepting P2P's ]
..Off:set %dnd off | amsg [ DND is OFF ][ I am now accepting P2P's ]
.DND Allow List
..Add User:auser dndallow $$1
..Del User:ruser dndallow $$1
-
Add the above section to your POPUPS (Alt+P)
-
on ^*:OPEN:?:*: {
if ($ulevel == dndallow) { return }
elseif (%dnd == on) {
.msg $nick 14,1[ 3,1DND 0,1is 3,1ON 14,1][0,1 I am not accepting 3,1P2P's 14,1]
halt
}
}
on *:EXIT: {
if (%dnd == on) {
set %dnd off
}
}
-
Add the above section to your REMOTES (Alt+R)
Mayne i hate dat thing ROFL i tried and tried and tried to figure that out i also used the return after the opening which is
on ^:OPEN:?:: {
if ($ulevel == dndallow) { return }
elseif (%dnd == on) {
It still did not work so i took it out and just kept the {
but i see that it works for you some how lol but i guess its good.