Just a Little Ircop snippit

By Cracker200 on Sep 29, 2009

This Is a Little Ircop Snippet i Coded when i was Bored please comment on How to Make it More use full and Beta Thanks.

*UPDATED Added Alot More commands Commands and Most But not all UnrealIRCd Commands =)

menu Channel {
  -
  IRC Operator - Control
  .Login As Operator: /oper $$?="Enter Ure Opper Name." $$?="Enter Ure password"
  .SuperAdmin On/Off 
  ..On: /os set superadmin On
  ..Off: /os set superadmin off
  .-
  .Commands For Yourself
  ..Get Voice: /mode $chan +v $me
  ..Get Devoiced: /mode $chan -v $me
  ..Get Opped: /mode $chan +o $me
  ..Get Deopped: /mode $chan -o $me
  ..Get Halfopped: /mode $chan +h $me
  ..Get Dehalfopped: /mode $chan -h $me
  ..Get Banned: /mode $chan +b $me
  ..Get Unbanned: /mode $chan -b $me
  .Channel Modes
  ..+i: /mode $chan +i
  ..-i: /mode $chan -i
  ..+m: /mode $chan +m
  ..-m: /mode $chan -m
  ..+s: /mode $chan +s
  ..-s: /mode $chan -s
  ..+p: /mode $chan +p
  ..-p: /mode $chan -p
  ..+l (Number): /mode $chan +l $$?="Enter a number"
  ..-l: /opmode $chan -l
  ..+k <Key>: /mode $chan +k $$?="Enter a key"
  ..-k: /opmode $chan -k
  ..+u: /mode $chan +u 
  ..-u: /mode $chan -u
  ..+G: /mode $chan +G
  ..-G: /Mode %chan -G
  ..+n: /mode $chan +n 
  ..-n: /mode $chan -n 
  ..+N: /mode $chan +N
  ..-N: /mode $chan -N
  ..+t: /mode $chan +t
  ..-t: /Mode $chan -t
  ..+K: /mode $chan +K                       
  ..-K:
  ..+L: /MODE $chan +L $$?="Enter a Channel to Direct too"
  ..-L: /mode $chan -L
  ..+V: /mode $Chan +V
  ..-V: /Mode $chan -V
  ..+Q: /mode $chan +Q
  ..-Q: /mode $chan -Q
  ..+c: /Mode $chan +c
  ..-c: /mode $chan -c
  ..+z: /Mode $chan +z
  ..-z: /Mode $chan -z
  ..+A: /mode $chan +A
  ..-A: //Mode $chan -A
.-
}
menu nicklist {

  Operator - Control
  .Op User: /mode $chan +o $1
  .Deop user: /mode $chan -o $1
  .HalfOp user: /mode $chan +h $1
  .DeHalfOp user: /mode $chan -h $1
  .Voice User: /mode $chan +v $1
  .Devoice User: /mode $chan -v $1
  .Ban User: /mode $chan +b $1
  .Unban User: /mode $chan -b $1
  .Owner User: /mode $chan +q $1
  .Deowner User: /Mode $Chan -q $1 
  .Ban User: /mode $chan +b $1
  .kick User:  /kick $chan $1 
{ 

menu menubar,channel,query,status {
  -
UnrealIRCd op
.Login
..Operator:/raw oper $$?="Nick" $$?="Operpassword"
..LogOut://mode $me -Oo | echo -a -(You are no longer an IRCOP)-
.$iif(o isin $usermode,Users And Hosts)
..Your Identity
...Set Your Host:/sethost $$?="Your vhost"
...Set Your ident:/setident $$?="Your new ident"
...Set Your Name:/setname $$?="Your name"
..Users Identity
...CA Vhost
....Add:/hostserv set $$?="Nick" $$?="Vhost"
....Delete:/hostserv del $$?="Nick" 
...Userhost:/chghost $$?="Nick" $$?="New host"
...Userident:/chgident $$?="Nick" $$?="New ident"
...Username:/chgname $$?="Nick" $$?="New name"
...SVSnick:msg operserv raw svsnick $$?="Current Nick" $$?="New nick" 1
...SVSjoin:msg operserv raw svspart $$?="Nick" $$?="Channel"
...SAJoin:/sajoin $$?="Nick" $$?="Channel"
...SVSpart:msg operserv raw svspart $$?="Nick" $$?="Channel"
...SApart:/sapart $$?="Nick" $$?="Channel"
.-
..$iif(o isin $usermode,Network Control)
...Rehash All:/rehash | /rehash -vhost | /rehash -motd | /rehash -opedmotd
...Local Connect:/quote connect $$?="Connect to which server :"
...Remote Connect:/quote connect $$?="Enter missing server :" 6669 $$?="Enter present server :"
...Squit Server:/squit $$?="Squit which Server :" $?="Enter reason :"
...Jupe Server:/msg operserv jupe $$?="Server" $$?="Reason"
...Global Notice:/globops $$?="Enter your notice :"
...Restart Server:/restart $$?="Password to restart IRC deamon:"
...Die:/die $$?="Password to kill IRC deamon:"
.-
..$iif(o isin $usermode,Oper Communication)
...Global
....custom:/msg operserv Global $$?="Enter Global Message" ( $time )
....floodbots:/msg operserv Global $network is currently experiencing FLOODBOT problems, we strongly advise channel owners to set /mode #chan +R to prevent floods - Thanks $$?="Enter Your Nick" ( $network $$?="Your IRcop Position" ) ( $time )
..Globops:/Globops $$?="Enter Globops Message"
..Locops:/Locops $$?="Enter Locops Message"
..Wallops:/Wallops $$?="Enter Wallops Message"
.-
..$iif(o isin $usermode,Abuse Control)
...kill user:/kill $$?="Enter Nick :"
...akill user:/msg operserv akill add $$?="Enter mask please" : $$?="Enter reason please"
...del akill:/msg operserv akill del $$?="Enter Mask Please" 
...list akills:/msg operserv akill list
...k-line user:/kline $$?="Enter mask :" $$?="Enter Reason :"
...del k-line:/kline - $+ $$?="Enter user@hostname:"
...block mask:/whokill $$?="Enter mask please" $$?="Enter reason please"
...z-line:/zline $$?="Enter user@ip:" : $$?="Enter reason:"
...del z-line:/zline - $+ $$?="Enter user@ip:"
...g-line add 24Hrs:/gline $$?="Enter user@hostname:" 86400 : $$?="Enter reason:"
...g-line add 30D:/gline $$?="Enter user@hostname:" 30d : $$?="Enter reason:"
...g-line add perm:/gline $$?="Enter user@hostname:" : $$?="Enter reason:"
...mass g-line:/f2 
...wildcard del g-line:/ungline $?="What Host (** for all)"
...del g-line:/gline - $+ $$?="Enter user@hostname:"
.-
.$iif(o isin $usermode,CSop Control)
..Admin Info:/admin
..List IRCops:/who 0 o 
..-
..User Pass:/msg nickserv getpass $$1
..Specific User Pass:/msg nickserv getpass $$?="Enter Nick:"
..Channel Pass:/msg chanserv getpass $$?="Enter Channel" 
..-
..Drop a Channel:/msg chanserv drop $$?="Channel"
..Drop a NickName:/msg nickserv drop $$?="Nickname"
..-
..Forbid a Channel:/msg chanserv forbid $$?="Channel" $$?="Reason"
..Forbid a Nick:/msg nickserv forbid $$?="Nick"
..No Expire Nick:/msg nickserv set $$?="Enter Nick:" noexpire on
..-
..Shun User:/shun $$?="Enter user@hostname:" $$?="Enter Time:" : $$?="Enter reason:"
..Remove Shun:/shun - $+ $$?="Enter user@host" 0 0
..-
..Update Services:/msg operserv Update
..ShutDown Services:/msg operserv shutdown
..Quit Services:/msg operserv quit
..BotServ
...Add Bot:msg botserv bot add $$?="Bot Nick:" $$?="Bot Name:" $$?="Bot Hostname:" $$?="Bot Real Name:"
...Del Bot:msg botserv bot del $$?="Bot Nick:" $$?="Bot Name:" $$?="Bot Hostname:" $$?="Bot Real Name:"
...List Bots:msg botserv botlist
...-
...Assign:msg botserv assign $$?="Enter channel name:" $$?="Bot Nick:"
...Unassign:msg botserv unassign $$?="Enter channel name:" $$?="Bot Nick:"
...No bot:msg botserv set $$?="Enter channel name:" NOBOT $$?="ON/OFF:"
...Info:msg botserv INFO $$?="Enter nick/channel:"
...-
...Bot Act:msg botserv act $$?="Enter channel name:" $$?="Text for bot to action:"
...Bot Say:msg botserv say $$?="Enter channel name:" $$?="Text for bot to say:"
...-
...Kick For
....Bold:msg botserv KICK $$?="Enter channel name:" BOLDS $$?="Enter ON/OFF or times kicked before banned:"
....Badwords:msg botserv KICK $$?="Enter channel name:" BADWORDS $$?="Enter ON/OFF or times kicked before banned:"
....Caps:msg botserv KICK $$?="Enter channel name:" CAPS $$?="Enter ON/OFF or times kicked before banned or minutes and percent:"
....Colors:msg botserv KICK $$?="Enter channel name:" COLORS $$?="Enter ON/OFF or times kicked before banned:"
....Floods:msg botserv KICK $$?="Enter channel name:" FLOOD $$?="Enter ON/OFF or times kicked before banned or lines in seconds:"
....Repeat:msg botserv KICK $$?="Enter channel name:" REPEAT $$?="Enter ON/OFF or times kicked before banned or number of repeats:"
....Reverses:msg botserv KICK $$?="Enter channel name:" REVERSES $$?="Enter ON/OFF or times kicked before banned:"
....Underlines:msg botserv KICK $$?="Enter channel name:" UNDERLINES $$?="Enter ON/OFF or times kicked before banned:"
....-
....Help:msg botserv help KICK
...-
...Set
....DONTKICKOPS
.....On:msg botserv set $$?="Enter channel name:" DONTKICKOPS ON
.....Off:msg botserv set $$?="Enter channel name:" DONTKICKOPS OFF
.....Help:msg botserv help set DONTKICKOPS
....DONTKICKVOICES
.....On:msg botserv set $$?="Enter channel name:" DONTKICKVOICES ON
.....Off:msg botserv set $$?="Enter channel name:" DONTKICKVOICES OFF
.....Help:msg botserv help set DONTKICKVOICES
....GREET
.....On:msg botserv set $$?="Enter channel name:" GREET ON
.....Off:msg botserv set $$?="Enter channel name:" GREET OFF
.....Help:msg botserv help set GREET
....FANTASY
.....On:msg botserv set $$?="Enter channel name:" FANTASY ON
.....Off:msg botserv set $$?="Enter channel name:" FANTASY OFF
.....Help:msg botserv help set FANTASY 
....SYMBIOSIS
.....On:msg botserv set $$?="Enter channel name:" SYMBIOSIS ON
.....Off:msg botserv set $$?="Enter channel name:" SYMBIOSIS OFF
.....Help:msg botserv help set SYMBIOSIS
....NOBOT
.....On:msg botserv set $$?="Enter channel name:" NOBOT ON
.....Off:msg botserv set $$?="Enter channel name:" NOBOT OFF
.....Help:msg botserv help set NOBOT
...-
...BotServ Help:msg botserv help
.-
..$iif(o isin $usermode,Line Stats)
...C-Lines:/stats c
...H-Lines:/stats h
...Y-Lines:/stats y
...K-Lines:stats k
...G-Lines:stats g
...Q-Lines:stats q
...L-Lines:stats l
...I-Lines:stats i
...Z-Lines:stats z
...W-Lines:stats w
...M-Lines:stats m
.-
..$iif(o isin $usermode,Misc Info)
...Links:/links
...Channels:/list
...Users:/lusers
...Motd:/motd
...Time:/time
...IRCd Version:.raw version
...List IRCops:.who 0 o
...Admin Info:/admin 
-
}

on *:load: {
  echo -a 9>>> 12UnrealIRCd IRCop commands menu v1 successfully loaded...
  echo -a 9>>> 12Author: shanker
  echo -a 9>>> 12Copyrighted © 01/10/09 shanker
  echo -a 9>>> 12IRCop tool to help you use commands for UnrealIRCd Enjoy and Please feel free to edit But  4DO NOT RIP! Or Else.. ;) 
}

Comments

Sign in to comment.
Cracker200   -  Sep 30, 2009

Aha cool =) Glad you like it

 Respond  
Astaroth   -  Sep 30, 2009

chan Only servers may set channel mode +q

well where it says #chan is my channels name but i changed it to #chan

 Respond  
Astaroth   -  Sep 30, 2009

Nice :D I like it, but if you want to make someone owner...its says this:

 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.