Author Topic: OmnomIRC Modes  (Read 4314 times)

0 Members and 1 Guest are viewing this topic.

Offline Netham45

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2103
  • Rating: +213/-4
  • *explodes*
    • View Profile
OmnomIRC Modes
« on: June 18, 2011, 12:48:47 am »
I'm getting to the point where I can implement modes for users on OmnomIRC(per-channel).

I'm thinking this:

User modes:
+b - banned, cannot speak or view chat. Equivalent to +b on IRC.
+m - muted, cannot speak, but can view chat (This would be closest to +m -v user on IRC)
+o - operator, can set +d, +m on users, can always speak/see chat (This would be closest to +a on admin chans)
+i - invited, this user has been invited to the chan by an operator. This would be overridden by +d, +m. +o would imply

the first user to join a channel will receive a +o flag, along with all Omni staff. We can remove/add +o's.

Chan-wise modes:
+s - secret, won't be displayed on the list when I get it added
+c - closed, will only be settable by Omni admins. Effectively a ban on *. It'd be used for channels like @cemetech or @goatse, since they don't need to be on OmnomIRC.
+i - invite only, user must have +i in the chan to join (will effectively be a +b on the user unless they have +i)


Commands:
@(un)ban nick - (un)sets +b on nick
@(un)mute nick - (un)sets +m on nick
@(un)invite nick - (un)sets +i on nick
@(de)op nick - (un)sets +o on nick
@close/open chan - (un)sets mode +c on chan
@drop chan - drops chan, removes all entries from the permissions table, the next user to join would then get +o. It'd be useful for a chan that was last used 4 months ago that someone wants now.

I won't be implementing kicks, I just don't think they'd be any good to have.

Close/open will obviously only work for non-IRC chans. I will try to make invite respect the chan modes, so @(un)invite doesn't need to be set from Omnom on them.

IRC operators will also have +o on OmnomIRC for them, and will be able to execute @defaen, @mute, @op, and @invite from within the chan.


Any suggestions on this? I'ma see about getting it started tomorrow.
« Last Edit: June 18, 2011, 02:54:22 am by Netham45 »
Omnimaga Admin

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: OmnomIRC Modes
« Reply #1 on: June 18, 2011, 12:55:00 am »
Hmm shouldn't +d be +b? ??? I think ops are gonna forget it's d  lol.

Also I think custom channels should wrap if there are too many. On low res I am sure this is gonna look messy otherwise x.x

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: OmnomIRC Modes
« Reply #2 on: June 18, 2011, 01:03:15 am »
Nice Netham :D

Yeah, should either wrap or scroll.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: OmnomIRC Modes
« Reply #3 on: June 18, 2011, 01:07:36 am »
O_o Wow, pretty cool stuff! ^^

Offline Netham45

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2103
  • Rating: +213/-4
  • *explodes*
    • View Profile
Re: OmnomIRC Modes
« Reply #4 on: June 18, 2011, 02:55:59 am »
Updated the first post. +b now instead of +d

Also moved the thread out of the admin section, I didn't mean to post it in there in the first place. Oops.
Omnimaga Admin

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: OmnomIRC Modes
« Reply #5 on: June 18, 2011, 11:22:24 am »
Wow modes! Omnom's gonna be a full IRC client or something :o




Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: OmnomIRC Modes
« Reply #6 on: June 20, 2011, 03:47:23 pm »
By the way is that just for OmnomIRC-only chans, or is it also for IRC ones?

EDIT: They do nothing in both ???
« Last Edit: June 20, 2011, 04:02:15 pm by DJ_O »

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: OmnomIRC Modes
« Reply #7 on: June 20, 2011, 04:08:42 pm »
By the way is that just for OmnomIRC-only chans, or is it also for IRC ones?

EDIT: They do nothing in both ???

I think he still has to add them:

I'm getting to the point where I can implement modes for users on OmnomIRC(per-channel).

I'm thinking this:




Offline Netham45

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2103
  • Rating: +213/-4
  • *explodes*
    • View Profile
Re: OmnomIRC Modes
« Reply #8 on: June 20, 2011, 05:51:43 pm »
Yea, they haven't been added yet.
Omnimaga Admin

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: OmnomIRC Modes
« Reply #9 on: June 20, 2011, 11:44:52 pm »
Oh I thought he already put them in :P