Ok here is a pm blocker that I have had help with to make from a few people on here but I though it would be good to post this as I tryed searching for somthing like this but found pretty hard to come across...
basicly it gives you an option when you right click to either
Ignore pms from certain users or to decline/accept all pm's
if you are declining all pm's it will send the user trying to pm you a message saying you are not accepting pm's
also if you are ignoring certain users it will reset when you exit Irc..
To install press ctrl+r and past it into a new remote file..
Hope you like this
Enjoy XD
############################
#PM Blocker by Cobra_Strike#
############################
menu nicklist {
Ignore P.M's
.Ignore user(s)
..Ignore P.M's from $$1 :/ignore -p $$1
..Unignore P.M's from $$1 :/ignore -rp $$1
..Clear ignore list: /ignore -rp
.Accept/decline all
..Accept all pm's: unset %nopms | echo $color(notice) -a $+(-,$me,-) Now accepting P.m's
..Decline all pm's: set %nopms 1 | echo $color(notice) -a $+(-,$me,-) Now declining P.M's
}
on ^*:OPEN:?:*: {
if (%nopms) {
.msg $nick I am currently not Accepting pm's please try again later
halt
}
}
on *:exit: unset %nopms
}
AL CODE INSIDE HERE
you can switch between on and off.. then you can use the /enable and /disable commands... As it is it would start out disabled and nothing in that group would work unless you enable the group first :) I use groups to enabled/disable certain features of my bot hope this helps you :)
Well I myself am new to scripting and I thought it was pretty good for me At the end of the day it does what it is intended for.
And it is simple yeah if you know how...
as I just stated I am new to all of this so I dont know how so its not very simple for me
Please more constructive comments unlike this one.