Home | Networks | Community | Need Help? 

 
 Quick search

 
 
 RegisterRegister   Log inLog in 

Secure Query

 
Post new topic   Reply to topic    SearchIRC Forum Index -> IRC Scripts
Author Message
Alpha
Lurker
Lurker


Joined: 29 Dec 2005
Posts: 206

PostPosted: Feb 12, 2006 6:11am    Post subject: Secure Query Reply with quote

Just a little secure query script I made.

/* Secure Query
By: Douglas
irc.us-irc.net #chat
Copyright 2005
*/

on ^*:OPEN:?: {
set %check % [ $+ [ acceptpm. ] $+ [ %pmnick ] ]
if ((%check == $null) && (%awaymsg == $null)) {
echo -a $nick is send you a private message 11[ $+ $1- $+ 11]
if (serv isin $nick) { /halt }
msg $nick 11** [14Automated message11] Please hold.
set %pmnick $nick
dialog -ma acceptpm acceptpm
halt
haltdef
}
if (%awaymsg != $null) {
msg $nick I am currently away - 11[ $+ $1- $+ 11]
}
}

dialog acceptpm {
title "Incoming PM"
size -1 -1 110 30
option dbu
box "Do you wish to accept?",1,2 2 115 25
button "Accept",2,15 11 40 11,ok
button "Deny",3,65 11 40 11,cancel
}

dialog denypm {
title "PM Rejected"
size -1 -1 110 50
option dbu
box "Please enter reason",1,2 2 115 45
edit "",2,10 11 100 11,left
button "Ok",3,40 32 40 11,ok
}

on *:dialog:acceptpm:sclick:2: {
set % [ $+ [ acceptpm. ] $+ [ %pmnick ] ] 1
timer 1 300 unset % [ $+ [ acceptpm. ] $+ [ %pmnick ] ]
msg %pmnick 11** Your pm has been accepted
}

on *:dialog:acceptpm:sclick:3: {
dialog -ma denypm denypm
}

on *:dialog:denypm:sclick:3: {
set %denymsg $did(2)
msg %pmnick 11** Your pm has been denied.11 (Reason: 11[ $+ %denymsg $+ 11] $+ )
}
on ^*:CLOSE:?: {
unset %check %reason %pmnick %acceptpm.
halt
haltdef
}
Back to top
magpie
Idler
Idler


Joined: 18 Jan 2004
Posts: 454
Location: Essex, UK

PostPosted: Feb 12, 2006 6:56am    Post subject: Reply with quote

Erm, how is this secure?
Back to top
XVar
Newbie
Newbie


Joined: 21 Sep 2005
Posts: 97

PostPosted: Feb 12, 2006 7:11am    Post subject: Reply with quote

You want secure use FiSH DLL...
Back to top
Alpha
Lurker
Lurker


Joined: 29 Dec 2005
Posts: 206

PostPosted: Feb 12, 2006 8:05am    Post subject: Script Reply with quote

I didn't know how else to phrase it. It's a PM script. Oki?
Back to top
sarkar112
none
none


Joined: 10 Nov 2004
Posts: 3

PostPosted: May 29, 2006 12:10pm    Post subject: Reply with quote

XVar wrote:
You want secure use FiSH DLL...

DLL? You need to patch mIRC (as this is an mIRC script) and load the script. I prefer using FiSH with ssl. But, I think this might help with spam.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    SearchIRC Forum Index -> IRC Scripts All times are GMT - 6 Hours
Page 1 of 1

 
 
Forum powered by phpBB
 
 © 2000 - 2008 EverythingIRC, Inc. All rights reserved. Please read our disclaimer