This is my first peice of Mirc code ever.
its nothing to dance about i found a need for something i couldnt realy find(one that worked as simple and well as i need) so i decided to learn how to do this myself.
Im calling Op Actions i geuss, basically it just adds a small Right Click Menu to your Nicklist for Adding/Deleteing Ops as well as some simple Warnings, Kick, Ban as well as Ban and Kick(at the same time basically)
Ill be adding more to this as i go i came here to show it off, and maybe learn a little more about scripting for Mirc i have a realy good tutorial so i think ill be able to do something cool soon.
Please tell me what you think, im sure theres tons of these around here i just wanted to make something for a first try.
*EDIT*
So im gonna update here i suppose:
I added in what i think you meant by giveing ops without actually adding the to the access list
also i added in 2 extra little things to the Fun section i hope you like.
**EDIT EDIT**
Its fixed :)
This is the new and improved Ops Actions, The commands have been fixed and everything works as it should.
I also added just a few more commands, i am in ColdFront irc thing so idk if it is all that different in other servers or not but these are the commands that work where i am.
Things added/edited
Its structured better, and smaller
Adding/Takeing Ops with out Adding/Takeing to/from the Ops Access List
Register/Drop Your own IRC Channels
Identify as owner to your IRC Channels(Pas. will have to be the same, otherwise edit it to your likeing)
Identify as a registered user
Adding/Deleting channels to/from the Auto Join list
============================
I hope everyone likes this comments are welcome(id like to improve this and my scriptage) ill be adding to this as i go
Alias hl {
/say $$1 | /say $$1 | /say $$1 | /say $$1 | /say $$1 | /say $$1 | /say $$1 | /say $$1 | /say $$1 | /say $$1 | /say $$1 | /say $$1 |
}
Menu nicklist,channel,query,menu {
Op Actions:
.User Actions
..Identify:msg nickserv identify PASSWORD
..Kick
...Kick:kick $chan $$1 [this is your first warning the next will result in ban from this channel!!!]
..Ban
...BanNKick:ban $chan $$1 | kick $chan $$1 [AND STAY OUT!!!]
...SpamBNK:ban $chan $$1 | kick $chan $$1 [NO SPAM!!!]
..Warn
...BanWarn:/say $$1 this is your first warning the next will result in ban from this channel!!!
...SpamWarn:/say $$1 NO SPAM!!!! NEXT ONE WILL GET YOU BANNED!!
..Auto Ops:
...Add
....N:cs sop $chan add $$1
....@:cs aop $chan add $$1
....%:cs hop $chan add $$1
....+:cs vop $chan add $$1
...Take:
....N:cs sop $chan del $$1
....@:cs aop $chan del $$1
....%:cs hop $chan del $$1
....+:cs vop $chan del $$1
..Reg Ops
...Add
....N:/mode $chan +a $$1
....@:/mode $chan +o $$1
....%:/mode $chan +h $$1
....+:/mode $chan +v $$1
...Take
....N:/mode $chan -a $$1
....@:/mode $chan -o $$1
....%:/mode $chan -h $$1
....+:/mode $chan -v $$1
.Server Actions
..Reg Chan:cs register # PASSWORD description here?
..Drop Chan:cs drop # PASSWORD
..Identify Chan Owner:msg ChanServ IDENTIFY # PASSWORD
..AutoJoin
...AJOIN:ns ajoin add #
...DJOIN:ns ajoin del #
.Fun
..Kick:kick $chan $$1 AND STAY OUT!!!
..BanNKick:ban $chan $$1 | kick $chan $$1 [/cs unban #chan]
..Highlight:/hl $$1
..Destroy:/describe Server Destroys: $$1 | /ban $chan $$1 | /kick $chan $$1
}