mIRC Home    About    Download    Register    News    Help

Print Thread
#123062 19/06/05 04:15 PM
S
SkyD
SkyD
S
I have a nicknames in nicks.txt ...
nicks.txt list:
John
Albert
Boy
Girl

And if someone from they parts the channel delete him nickname from nicks.txt .. How i can get it ??

#123063 19/06/05 04:22 PM
Joined: Nov 2003
Posts: 2,321
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,321
Code:
on !*:part:#:{
  if ($read(nicks.txt,nw,$nick)) { write -dl $+ $readn nicks.txt }
}

#123064 20/06/05 06:07 AM
S
SkyD
SkyD
S
Ok.. But if i write in nicks.txt - @ $nick i need to delete @ $nick not only nick !!

#123065 20/06/05 09:57 AM
D
DaveC
DaveC
D
Yes that might be the case, BUT do you do that?

nicks.txt list:
John
Albert
Boy
Girl

No it appears you dont.

Next time it would help if u put all relevent information in your request.

#123066 20/06/05 12:18 PM
S
SkyD
SkyD
S
Ok.. In nicks.txt i have this:
@ John [REGISTER]
@ Jana [UNREGISTER]
% Liza [REGISTER]
+ Vinny [REGISTER]

how i delete that nick who parts the channel with @, % or + and with REGISTER or UNREGISTER

#123067 20/06/05 05:43 PM
S
SkyD
SkyD
S
Hey.. PLZZ help me!!

#123068 20/06/05 09:19 PM
D
DaveC
DaveC
D
Using the previous code, change the matchtext

on !*:part:#channel:{ if ($read(nicks.txt,ntw,? $nick *)) { write -dl $+ $readn nicks.txt } }
on !*:quit:{ if ($read(nicks.txt,ntw,? $nick *)) { write -dl $+ $readn nicks.txt } }
on !*:kill:#channel:{ if ($read(nicks.txt,ntw,? $knick *)) { write -dl $+ $readn nicks.txt } }


Link Copied to Clipboard