Administrators chain Posted July 1, 2022 Administrators Report Share Posted July 1, 2022 on 1:OPEN:?:*:{ set %query.nick $nick set %query.address $address($nick,1) set %query.text $1- close -m $nick .msg $nick Query Manager: Wait, I have to decide whether or not to accept your Pvt... query.decide } alias -l query.decide { dialog -m Query Query } dialog Query { title "Query" size 300 250 200 50 option dbu text "Nick:", 2, 5 12 12 10, nowrap text "Text:", 3, 5 22 12 10, nowrap edit %query.nick %query.address, 4, 20 10 170 10, read edit %query.text, 5, 20 20 170 10, read button "Accept", 6, 25 32 40 15 button "Reject", 7, 75 32 40 15 button "Ignore", 8, 125 32 40 15 } on 1:dialog:Query:*:* { if ($devent == sclick) { if ($did == 6) { dialog -x Query Query query %query.nick echo -t %query.nick < $+ %query.nick $+ > %query.text .msg %query.nick Query Manager : Your Pvt Has Been Accepted! unset %query.* } if ($did == 7) { dialog -x Query Query .msg %query.nick Query Manager : Your Pvt Was Rejected! unset %query.* } if ($did == 8) { dialog -x Query Query ignore -p %query.nick .msg %query.nick Query Manager : Your Pvt was Rejected and I Put You in Ignore! unset %query.* } } } Quote Link to comment Share on other sites More sharing options...