on *:open:?:*:{
if (%tppm = on) {
set %tppm.nick $nick
set %tppm.message $1-
msg $nick 4,1Hello0,1 $nick 4,1This is Bryan from 0,1#RagedEsports
msg $nick 4,1If you are contacting me about 0,1RagedEsports4,1, please leave me a message and I will get back to you.
msg $nick 4,1If you need immediate assistance, go to #RagedEsports and ask an op.
msg $nick 4,1Thank you and Support #RagedEsports
/dialog -m tppm tppm
}
}
dialog tppm {
title "Incoming Pm"
size 150 150 150 100
option dbu
text "", 1, 5 5 140 10
box "Message:", 2, 5 15 140 60
edit "", 3, 10 25 130 45, multi read
button "Accept", 4, 5 80 25 15,
button "Denied", 5, 35 80 25 15,
button "Cancel", 6, 120 80 25 15, cancel
}
on *:dialog:tppm:sclick:4:{
msg %tppm.nick 4,1Your Conversation Has Been 0,1Accepted.
dialog -c tppm tppm
}
on *:dialog:tppm:sclick:5:{
close -m %tppm.nick | msg %tppm.nick 4 Your Conversation Has Been 0,1Denied.
dialog -c tppm tppm
}
on *:dialog:tppm:init:0:{
did -ra tppm 1 Incoming pm from: %tppm.nick
did -ra tppm 3 %tppm.message
}
on *:dialog:tppm:close:0:{
unset %tppm.message
unset %tppm.nick
/dialog -c tppm tppm
}
menu menubar,channel,status {
Query Manager:
.Turn On:set %tppm on
.Turn Off:set %tppm off