Peace & Protection 4.00 — File Browser
PeaceProtection4.00v4.0 / PeaceProtection4.00v4.0 / SCRIPT / CHAN.MRC
CHAN.MRC — 4.53 KB — Download this file
$_favpop:{ }
$iif((($mid(%`popups.3,1,1) != 0) && ((%`popups.hideop != 1) || ($me isop #) || (t !isincs $gettok($chan(#).mode,1,32)))) || ($mouse.key & 2),Topic...):etopic
$iif((($mid(%`popups.3,2,1) != 0) && ((%`popups.hideop != 1) || ($me isop #))) || ($mouse.key & 2),Modes)
.$_dynpop($iif($chan(#).mode === +tn,1)) Set +tn only:mtn #
.-
.$_dynpop($iif(i isincs $gettok($chan(#).mode,1,32),1)) Invite only +i:_mtog # i
.$_dynpop($iif(k isincs $gettok($chan(#).mode,1,32),1)) Key required +k:if ($chan(#).key == $null) mode # +k $_entry(-1,$null,Channel key to set?This 'password' will be required to join the channel.) | else mode # -k $chan(#).key
.$_dynpop($iif(l isincs $gettok($chan(#).mode,1,32),1)) Limit user count +l:if ($chan(#).limit == $null) mode # +l $_entry(-2,$nick(#,0),Channel limit to set?This will limit the total number of users.) | else mode # -l
.$_dynpop($iif(m isincs $gettok($chan(#).mode,1,32),1)) Moderated +m:_mtog # m
.$_dynpop($iif(n isincs $gettok($chan(#).mode,1,32),1)) No external msgs +n:_mtog # n
.$_dynpop($iif(p isincs $gettok($chan(#).mode,1,32),1)) Private +p:_mtog # p
.$_dynpop($iif(s isincs $gettok($chan(#).mode,1,32),1)) Secret +s:_mtog # s
.$_dynpop($iif(t isincs $gettok($chan(#).mode,1,32),1)) Topics by ops only +t:_mtog # t
.-
.$_dynpopf Mass voice +v:voc # *
.$_dynpopf Mass devoice -v:dvoc # *
$iif(($mid(%`popups.3,3,1) != 0) || ($mouse.key & 2),Settings)
.$_dynpopf Protection...:protedit
.$_dynpopf General config...:config chan
.$_dynpopf Modes / topics...:strict
.$_dynpopf Event routing...:route
.-
.$_dynpop($calc($_getcflag($chan,71) + $_getcflag($chan,72) + $_getcflag($chan,73))) Enable
..$_dynpop($_getcflag($chan,72)) CTCP protections:prot *ctcp
..$_dynpop($_getcflag($chan,71)) Text protections:prot *text
..$_dynpop($_getcflag($chan,73)) Other protections:prot *misc
..-
..$_dynpopf Disable all:prot -all
..$_dynpopf Enable all:prot +all
.$_dynpopf Options
..$_dynpop($_getcflag($chan,69)) Ops immune:prot *op
..$_dynpop($_getcflag($chan,70)) Voiced immune:prot *voc
..-
..$_dynpop($_getcflag($chan,23)) Enforce bans:prot *enforce
..$_dynpop($_getcflag($chan,45)) Self-ban protection:prot *selfban
.-
.$_dynpop($_getcflag($chan,26)) Whois on join
..$_dynpop($_getcflag($chan,26)) Enabled:prot *whois
..$_dynpop($_getcflag($chan,27)) Only if opped:prot *whoisop
..$_dynpop($_getcflag($chan,79)) Off if away:prot *whoisaway
..$_dynpop($_getcflag($chan,80)) Show in channel:prot *whoischan
.$_dynpop($_getcflag($chan,16)) IRCop check:prot *ircop
-
$iif(($mid(%`popups.3,4,1) != 0) || ($mouse.key & 2),Banlist...):mode # b
$iif((($mid(%`popups.3,5,1) != 0) && ((%`popups.hideop != 1) || ($me isop #))) || ($mouse.key & 2),Bans)
.Set a ban...:ban # $_entry(-1,$null,Address or mask to ban?(or you may enter a nickname))
.Unban...:unban -s # $_entry(-1,$null,Nickname or address to unban?(ALL matching bans will be unbanned))
.-
.Ban last user to part:banlast #
.Unban last ban:unban #
.Ban last unban:reban #
-
$iif(($mid(%`popups.3,6,1) != 0) || ($mouse.key & 2),Ping):ping
$iif(($mid(%`popups.3,7,1) != 0) || ($mouse.key & 2),Scan)
.Basic info:chaninfo
.Advanced...:scan
.Clones:clones
.-
.$_rec(userscan,1):clones %=userscan.1
.$_rec(userscan,2):clones %=userscan.2
.$_rec(userscan,3):clones %=userscan.3
.$_rec(userscan,4):clones %=userscan.4
.$_rec(userscan,5):clones %=userscan.5
.$_rec(userscan,6):clones %=userscan.6
.-
.Mask...:clones $_entry(-1,$null,Usermask to scan for?(For example, *.aol.com))
.%=userscan.clr:_recclr userscan
-
$iif(($mid(%`popups.3,8,1) != 0) || ($mouse.key & 2),Favorites)
.$iif(((%_fpopa1) || (%_fpopb1)) || ($mouse.key & 2), [ $_dynpopf ] Join now):fav j
.$_dynpop($_cfgi(fav.auto)) Join on connect:{
if ($_cfgi(fav.auto)) { disps You will $:b(not) join favorites on connect. | _cfgw fav.auto 0 }
else { disps You will join your favorites on connect. | _cfgw fav.auto 1 }
}
.-
.%_fpopa1:j $gettok($replace(%_fpopa1,&&,&),2,32)
.%_fpopa2:j $gettok($replace(%_fpopa2,&&,&),2,32)
.%_fpopa3:j $gettok($replace(%_fpopa3,&&,&),2,32)
.%_fpopa4:j $gettok($replace(%_fpopa4,&&,&),2,32)
.%_fpopa5:j $gettok($replace(%_fpopa5,&&,&),2,32)
.-
.%_fpopb1:j $gettok($replace(%_fpopb1,&&,&),2,32)
.%_fpopb2:j $gettok($replace(%_fpopb2,&&,&),2,32)
.%_fpopb3:j $gettok($replace(%_fpopb3,&&,&),2,32)
.%_fpopb4:j $gettok($replace(%_fpopb4,&&,&),2,32)
.%_fpopb5:j $gettok($replace(%_fpopb5,&&,&),2,32)
.-
.$iif(((%_fpopa1) || (%_fpopb1)) || ($mouse.key & 2),Clear favorites...):fav c
.Add $replace(#,&,&&) $+ ...:fav +
.Remove $replace(#,&,&&):fav - #
.-
.Edit...:fav