1. Hey Guest, are you looking for a place to host your IRC related project? Then check out the Resource Manager on IRCForums! Click the resources tab above this notice!
  2. Hello Guest, are you new to IRCForums? Why not introduce yourself in the introduction forum!
  3. We have updated the layout of our forums. Please see this thread for more information.

[msl] Force nick/Force join protection

Discussion in 'Script Gallery (Depreciated)' started by DarknessFalls, Jan 14, 2012.

  1. Offline

    DarknessFalls Recruit

    Member Since:
    Dec 18, 2011
    Message Count:
    84
    Likes Received:
    24
    Trophy Points:
    21
    simple to use it just auto changes your nick back to what you had it if someone changes it on you and also makes you auto part channels if your force joined to them
    Code (mirc):

    Menu menubar {
      [Nick Protect/Force Join Protect]
      ..$iif($group(#nickprotect) == On,$style(2)) Turn on Np: { .enable #nickprotect }
      ..$iif($group(#nickprotect) == Off,$style(2)) Turn off Np: { .disable #nickprotect }
      ..$iif($group(#forcejoin) == On,$style(2)) Turn on Fj: { .enable #forcejoin }
      ..$iif($group(#forcejoin) == Off,$style(2)) Turn off Fj: { .disable #forcejoin }
      ..addnicktosafelist: { auser Changesafe $$?"what nick" }
      ..delnickfromsafelist: { ruser Changesafe $$?"what nick" }
    }
    #nickprotect on
    on ^*:NICK:{
      var %totalChan = $comchan($newnick,0)
      var %c = 0
      while (%c < %totalChan) {
        inc %c
        ;echo $comchan($newnick,%c) Nick Change: $nick --> $newnick
      }
      if ($nick == $me) && ($newnick != %mynick) && ($level($newnick) != ChangeSafe) {
        nick $nick
      }
    }
    #nickprotect end
    alias nick {
      .disable #nickprotect
      .nick $1
      .timer 1 4 .enable #nickprotect
    }
    #forcejoin on
    on *:snotice:*You were forced to join*: {
      if ($7 != #help) || ($7 !- #oper) || ($7 !- #Crysys) {
        .part #$7
      }
    }
    #forcejoin end
     
  2. Offline

    Bully MyOwnGroup

    Member Since:
    Dec 17, 2011
    Message Count:
    247
    Likes Received:
    38
    Trophy Points:
    36
    Force join/nick change it's lame specially if you are a regular user

    Your script should look something like this if(force join/nick change) then do: disconnect + blacklist the network ^^ and also be sure to never go back to it again after ;)
  3. Offline

    DarknessFalls Recruit

    Member Since:
    Dec 18, 2011
    Message Count:
    84
    Likes Received:
    24
    Trophy Points:
    21
    some people like to mess around. it happens doesnt really bother me much especially with this lil snippet in haha
  4. Offline

    D3M0N Corporal

    Member Since:
    Jan 10, 2012
    Message Count:
    694
    Likes Received:
    63
    Trophy Points:
    103
    I ended up making my own cause i got tired of opers abusing powers and sajoining me and svsnicking me alllll the time
    Bully likes this.
  5. Offline

    katsklaw Private

    Member Since:
    Dec 18, 2011
    Message Count:
    218
    Likes Received:
    90
    Trophy Points:
    58
    I simply leave the network and never return. If I have friends there I get their IM/email/fb info and explain the problem.
    Bertrum likes this.
  6. Offline

    Bertrum ParadoxIRC

    Member Since:
    Dec 17, 2011
    Message Count:
    1,822
    Likes Received:
    243
    Trophy Points:
    188
    As everybody said, if you get abused in such a manner you normally leave.

Share This Page