PM accept/decline

By Fan_Of_Ur_Mom on Jan 22, 2008

Erm, I made this script a while ago... >.< Just felt right to share it with all of you. :P It's simple, post it in your remotes and you will get a dialog upon someone PMing you and you get to choose to accept it or deny it.

I also have a question for anyone who can help. D: How would I make it ignore the person's PM till I accept and if I decline, make it ignore there PM for 2 minutes... Help would be very much appreciated.

dialog pm {
  title "PM Request"
  size -1 -1 216 221
  option pixels
  edit "", 1, 17 36 180 20
  edit "", 2, 17 72 180 108, read multi vsbar
  text "PM from:", 3, 17 19 45 15
  text "Message:", 4, 17 56 50 15
  button "Accept", 5, 38 184 59 20,
  button "Decline", 6, 107 184 59 20, ok
  box "", 7, 7 2 201 212
}
on *:OPEN:?:{
  .dialog -mod pm pm pm
  .did -a pm 2 $1-
  .did -a pm 1 $nick
  .msg $nick Your message has been sent to $me $+ . Please wait while I choose to decline or accept this message
  .close -m $nick
}
on *:dialog:pm:sclick:5:{
  .query $did(pm,1).text
  .msg $did(pm,1).text Your PM request was accepted 
  .dialog -x pm
}
on *:dialog:pm:sclick:6:{
  .msg $did(pm,1).text  This PM was declined 

  .dialog -x pm pm
}

Comments

Sign in to comment.
guest598594   -  Jan 23, 2008

no problem :)

keep in mind, you can also use the -u with bans and setting variables and stuff to do things for a certain time

 Respond  
Fan_Of_Ur_Mom   -  Jan 23, 2008

Thank you again, mountaindew. :)

 Respond  
guest598594   -  Jan 23, 2008

/ignore -u120 $nick

^^ ignores the nick for 120 seconds (two minutes)

 Respond  
Fan_Of_Ur_Mom   -  Jan 22, 2008

Would you kindly? :D How would I make it ignore the person\'s PM till I accept and if I decline, make it ignore there PM for 2 minutes... Help would be very much appreciated.

 Respond  
^Alexis^   -  Jan 22, 2008

I could help you =o

 Respond  
Fan_Of_Ur_Mom   -  Jan 22, 2008

Thank you. >:) Still would like help tho. -.-*

 Respond  
^Alexis^   -  Jan 22, 2008

I like it good job Fan_Of_Ur_Mom ;x

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.