Mass Stuff

By DragonFlare on Nov 08, 2008

This script is full of mass options i hope you enjoy it. Load into remotes and right click in a channel And go down to Mass Stuff

menu channel {
  Channel Control
  .Channel Stats
  ..Total $nick(#,0):.
  ..Op $nick(#,0,o) ( $+ $round($calc($nick(#,0,o) / $nick(#,0) * 100),0) $+  % $+ ):.
  ..Voice $nick(#,0,v) ( $+ $round($calc($nick(#,0,v) / $nick(#,0) * 100),0) $+  % $+ ):.
  ..Regular $nick(#,0,r) ( $+ $round($calc($nick(#,0,r) / $nick(#,0) * 100),0) $+  % $+ ):.
  ..-
  ..Get Info In New Window:statz
  .-
  .Mass Stuffs
  ..$iif($me !isop #,$style(2)) Mass Op
  ...All:mass op all
  ...-
  ...Voice Only:mass op voices
  ...Regular Only:mass op regular
  ...-
  ...Mass Deop:mass deop
  ..$iif($me !isop #,$style(2)) Mass Voice
  ...All:mass voice all
  ...-
  ...Op Only:mass voice ops
  ...Regular Only:mass voice regular
  ...-
  ...Mass Devoice:mass devoice
  ..-
  ..$iif($me !isop #,$style(2)) Mass Ban
  ...All:mass ban all
  ...-
  ...Op Only:mass ban ops
  ...Voice Only:mass ban voices
  ...Regular Only:mass ban regular
  ..$iif($me !isop #,$style(2)) Mass Kick
  ...All:mass kick all
  ...-
  ...Op Only:mass kick ops
  ...Voice Only:mass kick voices
  ...Regular Only:mass kick regular
  ..-
  ..Mass Notice
  ...All:mass notice all
  ...-
  ...Op Only:mass notice ops
  ...Voice Only:mass notice voices
  ...Regular Only:mass notice regular
  ..Mass Msg
  ...All:mass msg all
  ...-
  ...Op Only:mass msg ops
  ...Voice Only:mass msg voices
  ...Regular Only:mass msg regular
  ..-
  ..Mass Whois
  ...All:mass whois all
  ...-
  ...Op Only:mass whois ops
  ...Voice Only:mass whois voices
  ...Regular Only:mass whois regular
  ..-
  ..Mass Mode:mode $chan $$?="Mode :" $$*
  .CTCPs
  ..Ping:ctcp # ping
  ..-
  ..Version:ctcp # version
  ..Finger:ctcp # finger
  ..Time:ctcp # time
  ..User Info:ctcp # userinfo
  ..Client Info:ctcp # clientinfo
  .Modes
  ..Current Modes:echo -a $cxs(3) $+  $+ %xsbrack $+  $+ $cxs(2) Current mode for $+ $cxs(1) $chan  $+ $cxs(2) is $+ $cxs(1) $chan(#).mode
  ..-
  ..$iif($me !isop #,$style(2)) Set Modes
  ...Multi:mode # $$?="Mode(s) for $chan :"
  ...-
  ...$iif(c isincs $gettok($chan($chan).mode,1,32),$style(1)) ±c (No Colors):{ if (c isincs $gettok($chan($chan).mode,1,32)) { mode $chan -c } | else { mode $chan +c } }
  ...$iif(i isincs $gettok($chan($chan).mode,1,32),$style(1)) ±i (Invite Only):{ if (i isincs $gettok($chan($chan).mode,1,32)) { mode $chan -i } | else { mode $chan +i } }
  ...$iif(M isincs $gettok($chan($chan).mode,1,32),$style(1)) ±R (Only Registered Nicks Can Speak):{ if (M isincs $gettok($chan($chan).mode,1,32)) { mode $chan -M } | else { mode $chan +M } }
  ...$iif(m isincs $gettok($chan($chan).mode,1,32),$style(1)) ±m (Moderated):{ if (m isincs $gettok($chan($chan).mode,1,32)) { mode $chan -m } | else { mode $chan +m } }
  ...$iif(n isincs $gettok($chan($chan).mode,1,32),$style(1)) ±n (No External Messages):{ if (n isincs $gettok($chan($chan).mode,1,32)) { mode $chan -n } | else { mode $chan +n } }
  ...$iif(p isincs $gettok($chan($chan).mode,1,32),$style(1)) ±p (Private):{ if (p isincs $gettok($chan($chan).mode,1,32)) { mode $chan -p } | else { mode $chan +p } }
  ...$iif(R isincs $gettok($chan($chan).mode,1,32),$style(1)) ±R (Only Registered Nicks Can Join):{ if (R isincs $gettok($chan($chan).mode,1,32)) { mode $chan -R } | else { mode $chan +R } }
  ...$iif(s isincs $gettok($chan($chan).mode,1,32),$style(1)) ±s (Secret):{ if (s isincs $gettok($chan($chan).mode,1,32)) { mode $chan -s } | else { mode $chan +s } }
  ...$iif(t isincs $gettok($chan($chan).mode,1,32),$style(1)) ±t (Only Ops Set Topic):{ if (t isincs $gettok($chan($chan).mode,1,32)) { mode $chan -t } | else { mode $chan +t } }
  ...$iif(l isincs $gettok($chan($chan).mode,1,32),$style(1) ±l User Limit $+ $chr(58) $chan(#).limit,±l (User Limit)):{ if (l isincs $gettok($chan($chan).mode,1,32)) { mode $chan -l } | else { mode $chan +l $$?"Maximum number of users allowed in $chan :" } }
  ...$iif(k isincs $gettok($chan($chan).mode,1,32),$style(1) ±k Key $+ $chr(58) $chan(#).key,±k (Key)):{ if (k isincs $gettok($chan($chan).mode,1,32)) { mode $chan -k $chan($chan).key } | else { mode $chan +k $$?"Enter key for $chan :" } }
}

Comments

Sign in to comment.
Jethro   -  Feb 13, 2011

This snippet was inspired by the concept of a flying pig.

 Respond  
H3xable   -  Feb 13, 2011

Peaple should test first before posting.

 Respond  
Annihiluz   -  Feb 13, 2011

Definately needs lots of work, nothing works for me but the current channel modes which i can see in my title bar.

 Respond  
xplo   -  Nov 10, 2008

not working, not meeting the website's specification.

Snippets "NEEDS" to work.

1/10. FAIL

 Respond  
Scakk   -  Nov 09, 2008

1) None of the mass modes work.
2) When I check the stats in another window I get

STATZ Unknown command

3) When I check current modes I get

* No such identifier: $cxs
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.