mIRC Home    About    Download    Register    News    Help

Print Thread
#126226 26/07/05 08:39 PM
Joined: Jun 2004
Posts: 133
S
state Offline OP
Vogon poet
OP Offline
Vogon poet
S
Joined: Jun 2004
Posts: 133
kinda like a clone j0in but when a users joins my chan it losgs them. If they join again with a different name say it says

nick was previously (other nick) i would like htis quite advance. So users cant hide who they was.

Sorry for my poor english

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Well, you can always hide who you were by changing your IP/DNS information. The best a script like this would tell you is when a person from the same IP/DNS rejoined using a different nick.

That's not too difficult to code, but probably isn't what you are looking for.


Invision Support
#Invision on irc.irchighway.net
Joined: Jun 2004
Posts: 133
S
state Offline OP
Vogon poet
OP Offline
Vogon poet
S
Joined: Jun 2004
Posts: 133
i dont think i explained it well. I want a script that echos onjoin

nick was previously (othernick) if he/sghe has been in the roon before

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Yes. I'm just stating that if someone changes their IP/DNS, this won't tell you that they were someone else. At least, not usless a /whowas works on them.


Invision Support
#Invision on irc.irchighway.net
Joined: Jun 2004
Posts: 133
S
state Offline OP
Vogon poet
OP Offline
Vogon poet
S
Joined: Jun 2004
Posts: 133
o sorry. If they change there ip thats different. But would like to still try

Joined: May 2005
Posts: 106
S
Vogon poet
Offline
Vogon poet
S
Joined: May 2005
Posts: 106
i think the code would go something like this

Code:
 
on *:JOIN:#yourchannel: {
  echo $nick has just join $chan at $time
}
 


and thats the way the scout leader burns
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
That's not quite what he wants.

Here:
Code:
on *:join:#: {
  if (!$hget(NickChanges)) {
    hmake NickChanges 50
  }
  if (!$hget(NickChanges,$address($nick,2)) {
    hadd NickChanges $address($nick,2) $nick
  }
  else {
    hadd NickChanges $address($nick,2) $hget($address($nick,2)) $nick
    .msg $chan $nick was previously known as $replace($hget($address($nick,2)),$chr(32),$chr(44))
  }
}


Note that you can also set this up using the same format for ON NICK (i.e. nick changes while in the channel).

Also, you may want to consider saving/loading the hash table. That's up to you.


Invision Support
#Invision on irc.irchighway.net
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
You're missing closing parentheses dude..

Code:
if (!$hget(NickChanges,$address($nick,2))[color:red])[/color] 


-Andy

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Thanks. smile


Invision Support
#Invision on irc.irchighway.net

Link Copied to Clipboard