i trying to solve a problem.. when i type: /ctcp chat nick (to an eggdrop), then i get this in the debug:
-> server.address.com PRIVMSG nick :CHAT
[color:red]<- :nick!ident@host.com PRIVMSG nick2 :DCC CHAT chat 2130706433 3423[/color] (red is the bot that answer.)
and now this is a user sedning the same client a chat request:
<- :nick!ident@host.com NOTICE nick2 :DCC Chat (IP.addy)
[color:red]<- :nick!ident@host.com PRIVMSG nick2 :DCC CHAT chat 3642734861 2888[/color]
now to the wierd part.. i grab everything send to the client with: ctcp ^*:*:*:{ and that works just fine..
but the bots request wont act the same as the users request.. i have this code..
if ($1 == DCC) { haltdef }
that let a users chat request true without ignoring it.. but it wont let the bots request true.. and i tested to grap the value of $1 - $2 - $3 and set it as %var.. this is what i got..
%bot1 DCC ; $1
%bot2 CHAT ; $1
%bot3 chat ; $3
%user1 DCC ; $1
%user2 CHAT ; $1
%user3 chat ; $3
and what i can see, then the only thing that you can tell if comes from a bot or a user, thats the IP addy..
<- :nick!ident@host.com NOTICE nick2 :DCC Chat (IP.addy)
How come that mirc let the users DCC chat request true but not the bot's ??
i need to be able to haltdef the users DCC chat request but not the bot's.. but i cant see how that can be possible.. $1 - $2 - $3 return the same value's so cant use "if ($1 == DCC)"
somone that have any idea on why mirc acting this way?? :tongue: cos if i use "haltdef" and have ignore on, then mirc wont let the bot true, but it let the users DCC chat true.. ignorelist is empty so mirc shouldent halt anything cos ignore is enabled..
Or how can i identify:
<- :nick!ident@host.com PRIVMSG nick2 :DCC CHAT chat 3642734861 2888
its not a raw, but i get it in debug info.. so the thing i need to pic out from it is "PRIVMSG" (i think)