Ignoring pm's - 13/03/05 06:25 PM
You see, I have a problem with my latest script. It goes like this:
And this works perfectly well. However, I would like to add another twist to it. When you have it turned on, you shouldn't see what people tell you in pm's, and they should still get that message. Is this even possible?
Regards,
Wishie
Code:
alias nomsg { if ( $1 != on && $1 != off && $1 != status ) { echo $active *** Syntax error (value must be on, off or status) } if ( $1 == on ) { echo $active *** Not accepting messages.. set %nomsgstatus on } if ( $1 == off ) { echo $active *** Accepting messages.. set %nomsgstatus off } if ( $1 == status ) { if ( %nomsgstatus = on ) { echo $active *** /nomsg status: on } if ( %nomsgstatus = off ) { echo $active *** /nomsg status: off } } } on *:text:*:?: { if ( %nomsgstatus == on ) { msg $nick Sorry, not accepting messages at the moment.. } }
And this works perfectly well. However, I would like to add another twist to it. When you have it turned on, you shouldn't see what people tell you in pm's, and they should still get that message. Is this even possible?
Regards,
Wishie