Author Topic: Ban By Ops Only  (Read 13556 times)

James Revan

  • Newbie
  • *
  • Posts: 32
Re: Ban By Ops Only
« Reply #15 on: March 08, 2008, 10:08:43 PM »
Use $nick

TheCellist42

  • Full Member
  • ***
  • Posts: 143
    • TheCellist42.com
Re: Ban By Ops Only
« Reply #16 on: March 08, 2008, 10:13:05 PM »
Doesn't Work
~ Sam
~ Visit my website at http://www.TheCellist42.com

Morio

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 256
Re: Ban By Ops Only
« Reply #17 on: March 09, 2008, 12:42:37 AM »
It's kinda hard to do, because the ban mask doesn't necesarily contain a nick.

Also, I'm pretty sure the person will notice that he's been banned when he can't join the channel anymore
"I don't know what World War 3 will be fought with, but I know World War 4 with be fought with sticks and stones." - Albert Einstein

TheCellist42

  • Full Member
  • ***
  • Posts: 143
    • TheCellist42.com
Re: Ban By Ops Only
« Reply #18 on: March 09, 2008, 10:44:34 AM »
What I Wanted To Do Was Display The E-Mail Address Of Where To Appeal The Ban.
If I Cant Do That, Can I Change The Ban Message In The Ban Command, Right Now It Just Says Requested...

"/cs ban #channel nick message"

Any Ideas At All?
~ Sam
~ Visit my website at http://www.TheCellist42.com

Snerf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1968
    • IceChat IRC Client
Re: Ban By Ops Only
« Reply #19 on: March 09, 2008, 12:44:12 PM »
Bans dont really have a reason, kicks do.
And if chanserv allows you to, then /cs help ,and see what it displays.
The IceChat God

TheCellist42

  • Full Member
  • ***
  • Posts: 143
    • TheCellist42.com
Re: Ban By Ops Only
« Reply #20 on: March 09, 2008, 12:50:16 PM »
I meant, when it kicks after the ban, I want to change the kick message. Where can I add it into the script...

Sub ONTEXT(Message,Channel,Nickname,Host,ServerNumber)
If Left(Message,5) = "!ban " and Len(Message) > 5 then
If Channel = "#Sam-Ops" then
  If ISOP(Nickname,Channel,ServerNumber)=True then
  ban = Mid(Message,6)
  SendCommand "/cs ban #SamF " & ban,ServerNumber
  SendCommand "/timer 0 1 10800 /cs unban #SamF " & unban,ServerNumber
End If 
End If
End If
End Sub
~ Sam
~ Visit my website at http://www.TheCellist42.com

Morio

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 256
Re: Ban By Ops Only
« Reply #21 on: March 09, 2008, 01:56:42 PM »
As Snerf said, try /cs help to get more info about the commands.

I never use chanserv for stuff like that, It's just so much easier to do it yourself, then you know exactly what you're doing. It might even be that you can't change the kickmessage
"I don't know what World War 3 will be fought with, but I know World War 4 with be fought with sticks and stones." - Albert Einstein

TheCellist42

  • Full Member
  • ***
  • Posts: 143
    • TheCellist42.com
Re: Ban By Ops Only
« Reply #22 on: March 09, 2008, 01:57:56 PM »
I See  :-(

Thats Fine Then, Ill Just Leave It How It Is
~ Sam
~ Visit my website at http://www.TheCellist42.com

Snerf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1968
    • IceChat IRC Client
Re: Ban By Ops Only
« Reply #23 on: March 09, 2008, 03:08:42 PM »
Thats exactly it, since you are not even using /kick to kick someone.
Just read chanserv help.
The IceChat God