mIRC Home    About    Download    Register    News    Help

Print Thread
#19852 17/04/03 07:56 PM
Joined: Apr 2003
Posts: 8
S
sNif Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
S
Joined: Apr 2003
Posts: 8
Can someone tell me a good "#channel-detection" source for C/C++?

I mean in mIRC if someones says #channel then if i put my cursor on it, then the cursor-pic will change... etc. and i can click it. so its like some kind channel detection ?

#19853 17/04/03 09:19 PM
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
C/C++? In case you haven't noticed, these are mIRC forums, not C/C++ forums.

#19854 20/04/03 05:34 PM
Joined: Dec 2002
Posts: 2,985
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
What exactly is this "channel detection" meant to do?

If it is anti-advertising then just nail something like this:
Code:
ON *:TEXT:*:#: {
  if ($chr(35) isin $1- && # !isin $1-) {
    kick # $nick No advertising!
  }
}


Link Copied to Clipboard