Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> mIRC Scripting, mIRC
Cookiemonster
post Jun 14 2005, 05:24 PM
Post #1


Member [ Level 1 ]
Group Icon

Group: Members
Posts: 36
Joined: 10-June 05
From: London
Member No.: 6,063



What script is mIRC written in as i would like to know here's an example of a peace of its script:

#capsprot on
on ^*:TEXT:*:#:{
if ($nick == $chan) halt
if ($$ial($nick $+ *,1).addr == $read(protect.txt, w,* $+ $$ial($nick $+ *,1).addr $+ * )) return
if ($nick isowner #) halt
if ($nick isop #) halt
if ($len($1-) < 20) { return }
var %caps.letters = $calc($len($1-) + 1 - $len($removecs(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z)))
var %caps = $calc($len($1-) - $len($removecs($1-,($1-),A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z)))
var %caps.percent = $round($calc(%caps / %caps.letters * 100),0)
if ((%caps.percent > $allowedcaps) && ($nick !isop #)) {
set -u60 %rl. [ $+ [ $address($nick,2) ] ] $calc( %rl. [ $+ [ $address($nick,2) ] ] + 1)
;the -u60 makes the variable unset after 60 secs without being used
if (%rl. [ $+ [ $address($nick,2) ] ] == 1) /ctcpreply $nick TIME  -=(6)[ Dont Use Caps $replace($nick,>,Guest_) ](6)=-
if (%rl. [ $+ [ $address($nick,2) ] ] == 2) /ctcpreply $nick TIME  -=(6)[ Dont You Learn $replace($nick,>,Guest_) $+ ? Caps Off ](6)=-
if (%rl. [ $+ [ $address($nick,2) ] ] >= 3) {
access $chan add deny $address 5 :-=*[ LOD ](6)=- Caps Prot $replace($nick,>,Guest_) added by $replace($me,>,Guest_) at $date @ $time
access $chan add deny $nick 5 :-=*[ LOD ](6)=- Caps Prot $replace($nick,>,Guest_) added by $replace($me,>,Guest_) at $date @ $time
kick # $nick -=(6)[ Too Many Warnings 5 Minute Ban ](6)=-
}
}
}

Does anyone know this script and what its name is.

It may look confusing but its a cool action peace of script that i dont know what is called laugh.gif


Notice from m^e:
Next time read the forum descriptions a bit before making a post. This section is for ActionScript only. Topic moved to Misc. Scripting


This post has been edited by microscopic^earthling: Jun 14 2005, 05:39 PM
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. How To Add A Scripting Language To A Program ?(11)
  2. Best Way Of Learning A Scripting Language?(6)


 



- Lo-Fi Version Time is now: 14th October 2008 - 09:27 AM