collapse

Author Topic: Official ICQ-Chat "Gender" Addon for mIRC and KvIRC  (Read 172 times)

0 Members and 1 Guest are viewing this topic.

Offline Chris

  • *
  • IRCOps
  • Posts: 1113
  • Country: de
Official ICQ-Chat "Gender" Addon for mIRC and KvIRC
« on: April 23, 2019, 02:29:59 PM »
This Addon was made as Announced in addition to our Webchat changes. With this Addon you're able to see the Gender colors of joining Users in the Nicklist.
All this Script does is setting the name pink for female Users and blue for male ones. You can adjust the colors by editing line 13, 16, 36 and 37 - replace the numbers at the end with the color ID you'd like.

If you're running into issues with this Script / Feedback use [email protected]


Installation:

1. Open your mIRC Installation and hit [ALT] + [R] on your Keyboard, the Script editor will open.
2. Click on "File" > "New"
3. A Blank window has opened. Copy and Paste the code from below into that new window.
4. Either just hit "OK" or use "File" > "Save as" if you want to give it a specific name.


Code: [Select]
; ICQ-Chat.com mIRC Nick Color Addon by Desolator and Chris
; ------------------------------------------------------------------------------------
; This Addon is setting the nick colours based on the gender
; pink for female and male for male.
; you can adjust the colors by editing line 13, 16, 36 and 37
; just replace the numbers at the end with the color ID you'd like.
; for support regarding this addon use [email protected]


on *:PARSELINE:*:*:{
  if ($network == ICQ-Chat) {
    if (($parsetype == in) && ($parseutf == $true)) {
      if ((JOIN isincs $parseline) && ($chr(35) isin $gettok($parseline,3,32))) {
        if ($gettok($gettok($parseline,5,32),2,47) == M) {
          .cnick *!*@ $+ $gettok($gettok($parseline,1,32),2,64) 13
        }
        if ($gettok($gettok($parseline,5,32),2,47) == F) {
          .cnick *!*@ $+ $gettok($gettok($parseline,1,32),2,64) 12
        }
      }
    }
  }
}

ON *:JOIN:#:{
  if ($nick == $me) {
    set -u4 %nowhos on
    .timer 1 1 //.who $chan
  }
}

raw 352:*:{
  if (%nowhos) {
    haltdef
    if ($gettok($9,2,47) == M) { .cnick *!*@ $+ $4 12 }
    if ($gettok($9,2,47) == F) { .cnick *!*@ $+ $4 13 }
  }
}

raw 315:*:{ if (%nowhos) { haltdef } }

ON ^*:QUIT: {   .cnick -r $address($nick,2) }

on *:LOAD:{ 
  .cnick on
  .echo -at 07ICQ-Chat Nick colors Addon by Desolator and Chris loaded! For Support use [email protected]
}


Notice: This Addon *may* not work on Bouncers such as ZNC, sBNC, etc! This is not due to the Addon, it is due to the restrictions with those Software!
« Last Edit: April 23, 2019, 02:38:30 PM by Chris »
You like what you read? Make sure to like this post by clicking on the -icon above!

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards or via our Support Desk Thank you.
 
People liking this post: colt45, Nathan

 

Important Links

* Check out our new Tool!

We have created a small tool for mIRC which allows you to easily report users who violate our Rules (without entering #help).

  English version
  Deutsche Version

Our Network Team

IRCops:                     

Chris - Technical Administrator
Desolator - Technical Assistant
HB - ChanOps Training Lead
MaTriX - Radio & DJ's Team Lead
TNTease - ICQ-Chat Co-Owner
Yusif  - ICQ-Chat Owner

BotOps:

Daxx

ChanOps:
     
Aussie_Lady
Devilish
magic_dragon
inca 
jessi
Scarecrow

#Help OpHelpers:

Chantal
jake

Radio DJs:

Maxim
Nathan
Axarn
Goofus-Ninja


Wanna get to know more about our Network Team including pictures?
Take a look here!


You are banned or need other Assisstance? Click on the Support Button.

In Memoriam

> MarkAus61
> SatmanUK
> Gandalf