Author Topic: DeOP  (Read 4006 times)

TheCellist42

  • Full Member
  • ***
  • Posts: 143
    • TheCellist42.com
DeOP
« on: March 02, 2008, 03:00:06 PM »
on *:NICK:if (TheCellist42ZZZ isin $newnick) /msg chanserv deop #SamF $newnick

on *:NICK:if (TheCellist42|ZZZ isin $newnick) /msg chanserv deop #SamF $newnick

on *:NICK:if (TheCellist42|AFK isin $newnick) /msg chanserv deop #SamF $newnick

on *:NICK:if (TheCellist42AFK isin $newnick) /msg chanserv deop #SamF $newnick

I Cant get any of these scripts to work, I want to have it so when I go away, and change my nick to TheCellist42|AFK, I want to be deopped.
Any Ideas??

-Sam
~ Sam
~ Visit my website at http://www.TheCellist42.com

TheCellist42

  • Full Member
  • ***
  • Posts: 143
    • TheCellist42.com
Re: DeOP
« Reply #1 on: March 02, 2008, 03:33:02 PM »
Anyone Have Any Ideas?
~ Sam
~ Visit my website at http://www.TheCellist42.com

Snerf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1968
    • IceChat IRC Client
Re: DeOP
« Reply #2 on: March 02, 2008, 04:29:47 PM »
Since you want it to work on yourself, don't use ON *:NICK, use ON ^:NICK , the ^ means it only works on yourself.
The IceChat God

TheCellist42

  • Full Member
  • ***
  • Posts: 143
    • TheCellist42.com
Re: DeOP
« Reply #3 on: March 02, 2008, 04:32:22 PM »
I have it set for everyone, i cant get it to work at all
~ Sam
~ Visit my website at http://www.TheCellist42.com

BigRed

  • Guest
Re: DeOP
« Reply #4 on: March 02, 2008, 10:17:35 PM »
Try:
on *:NICK:if (TheCellist42AFK isin $newnick): /msg chanserv deop #SamF $newnick
or
on ^:NICK:if (TheCellist42AFK isin $newnick): /msg chanserv deop #SamF $newnick

you forgot the closing : marker, that could be part of the problem.

Snerf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1968
    • IceChat IRC Client
Re: DeOP
« Reply #5 on: March 02, 2008, 11:01:52 PM »
Um, adding the : is gonna break it :)

There are problems with if statements in mirc scripting style, I am working on fixing em.
The IceChat God

BigRed

  • Guest
Re: DeOP
« Reply #6 on: March 02, 2008, 11:13:46 PM »
well at worst it still doesn't work right?