UNITED Radio Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.


A Happy Place is a Nice Place to Be [[R.I.P Sean]]
 
HomeHome  PortalPortal  GalleryGallery  SearchSearch  Latest imagesLatest images  RegisterRegister  Log inLog in  
Latest topics
» Hello United Radio friends
PM Blocker Let in the Nice and keep out the Uglies I_icon_minitimeTue Jan 29, 2013 6:24 am by Fang54

» Weekly DJ Schedule
PM Blocker Let in the Nice and keep out the Uglies I_icon_minitimeTue Jan 29, 2013 5:12 am by Fang54

» Guess the Radio Babies
PM Blocker Let in the Nice and keep out the Uglies I_icon_minitimeFri Jan 21, 2011 11:43 pm by NetChick

» Quotes
PM Blocker Let in the Nice and keep out the Uglies I_icon_minitimeMon Dec 06, 2010 1:51 pm by mum

» Forum's Back
PM Blocker Let in the Nice and keep out the Uglies I_icon_minitimeTue Oct 05, 2010 4:01 pm by mum

» The Digital Economy Act 2010
PM Blocker Let in the Nice and keep out the Uglies I_icon_minitimeThu Apr 29, 2010 1:57 pm by casper

» Pics. :)
PM Blocker Let in the Nice and keep out the Uglies I_icon_minitimeTue Apr 06, 2010 7:27 pm by Laurapooh

» So You Think You Can Be A DJ?
PM Blocker Let in the Nice and keep out the Uglies I_icon_minitimeTue Feb 23, 2010 2:46 pm by SPAWN

» mIRC help
PM Blocker Let in the Nice and keep out the Uglies I_icon_minitimeThu Feb 18, 2010 7:20 pm by ThatOneDude

May 2024
MonTueWedThuFriSatSun
  12345
6789101112
13141516171819
20212223242526
2728293031  
CalendarCalendar

 

 PM Blocker Let in the Nice and keep out the Uglies

Go down 
AuthorMessage
casper
Admin
casper


Number of posts : 102
Age : 57
Where You Live : Dundee/Scotland
Registration date : 2007-05-04

PM Blocker Let in the Nice and keep out the Uglies Empty
PostSubject: PM Blocker Let in the Nice and keep out the Uglies   PM Blocker Let in the Nice and keep out the Uglies I_icon_minitimeTue Jul 17, 2007 1:49 pm



on 1:START:{
echo -a 08 Loading PM-Blocker 3.0 ...
window -alkC @MESSAGES
set %blockoff 0
echo -a 08 PM-Blocker - ON
}
on 1:load:{
echo -a 08 Loading PM-Blocker 3.0 ...
set %badguy $$?="What Should I Tell BAD People The Message Me ?"
window -alkC @MESSAGES
set %blockoff 0
echo -a 08 PM-Blocker - ON
}
on ^*:open:?:*: {
if (%blockoff == 1) goto End
if ($nick isin %nickok) goto End
if (http: isin $strip($1-)) goto bad
if (www. isin $strip($1-)) goto bad
if (porn isin $strip($1-)) goto bad
if (xxx isin $strip($1-)) goto bad
if ($nick isin %sentmessage) goto skip
notice $nick Sorry I do not accept private messages!
notice $nick To get my attention Do:8 $me Message < In the channel!
if ($window(@MESSAGES) == $null) window -lkC @MESSAGES
/iline @MESSAGES 1  -----------------------------------------------
/iline @MESSAGES 2  Time: $time - $date * Channel: $chan - $network
/iline @MESSAGES 3  $nick PM-Messaged: $1-
/window -gl @messages
set %sentmessage $nick
/halt
:skip
if ($window(@MESSAGES) == $null) window -lkC @MESSAGES
/iline @MESSAGES 1  -----------------------------------------------
/iline @MESSAGES 2  Time: $time - $date * Channel: $chan - $network
/iline @MESSAGES 3  $nick PM-Messaged: $1-
echo -a 08 You Have A New Message From $nick ...
/window -gl @messages
/halt
:bad
/notice $nick - Automated Message - %badguy ..
/msg $nick - Automated Message - %badguy ..
/halt
:End
}
on *:TEXT:$(* $+ $me $+ *):*:{
if (%blockoff == 1) goto End
if ($window(@MESSAGES) == $null) window -lkC @MESSAGES
echo -a 11 Nick: $nick 11Chan: $chan - $network 11Said: $1-
/iline @MESSAGES 1  -----------------------------------------------
/iline @MESSAGES 2  Time: $time - $date * Channel: $chan - $network
/iline @MESSAGES 3  $nick SAID: $1-
/window -g1 @messages
:end
}
on *:notice:$(* $+ $me $+ *):*:{
if (%blockoff == 1) goto End
if ($window(@MESSAGES) == $null) window -lkC @MESSAGES
echo -a 11 Nick: $nick 11Chan: $chan - $network 11Said: $1-
/iline @MESSAGES 1  -----------------------------------------------
/iline @MESSAGES 2  Time: $time - $date * Channel: $chan - $network
/iline @MESSAGES 3  $nick NOTICE: $1-
/window -g1 @messages
:end
}
on *:snotice:$(* $+ $me $+ *):*:{
if (%blockoff == 1) goto End
if ($window(@MESSAGES) == $null) window -lkC @MESSAGES
echo -a 11 Nick: $nick 11Chan: $chan - $network 11Said: $1-
/iline @MESSAGES 1  -----------------------------------------------
/iline @MESSAGES 2  Time: $time - $date * Channel: $chan - $network
/iline @MESSAGES 3  $nick NOTICE: $1-
/window -g1 @messages
:end
}
menu channel {
-
 PM Blocker :var %1 = 1 | unset %1
ON:echo $me  PM-Blocker is: On | set %blockoff 0 | window -alkC @MESSAGES
OFF:echo $me  PM-Blocker is: Off | set %blockoff 1
View Messages:/window -alkC @MESSAGES
View/Edit Nicks:{
set %nickok $$input(SET Nick Names You Want PM You,e,,%nickok)
}
-
}
menu NickList {
-
 PM Blocker :var %1 = 1 | unset %1
ON:echo $me  PM-Blocker is: On | set %blockoff 0 | window -alkC @MESSAGES
OFF:echo $me  PM-Blocker is: Off | set %blockoff 1
Add Nick:{
set %nickok %nickok - $$1
}
-
}
menu @MESSAGES {
Delete Line(s):{
while ($sline(@MESSAGES,0)) { dline @MESSAGES $sline(@MESSAGES,1).ln }
}
}
menu @MESSAGES {
$iif($window($active).type == listbox,Copy-Line):clipboard $$sline($active,1)
}
Back to top Go down
http://www.xxunitedradioxx.net
 
PM Blocker Let in the Nice and keep out the Uglies
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
UNITED Radio Forum :: mIRC Help Section-
Jump to: