mIRC Home    About    Download    Register    News    Help

Print Thread
#169244 20/01/07 07:50 PM
Joined: Jan 2007
Posts: 280
Fjord artisan
OP Offline
Fjord artisan
Joined: Jan 2007
Posts: 280
Code:
ON *:TEXT:*:#radio123,#duck_power:{
  msg # $read(Haha.txt)
} 


It doesn't reaply on NICK.
iT NEEDS to reply if $nick is $me or something...
it needs to reply if they are calling my/yours nickname.


Squee whenever a squee squee's. Squee whenever a squee does not squee.
DuXxXieJ #169250 20/01/07 07:56 PM
Joined: Jan 2007
Posts: 1,156
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2007
Posts: 1,156
This code would read a random line from haha.txt every time anyone said anything in #radio123 & #duck_power.

What do you want it to respond to. Please be more specific.

DuXxXieJ #169252 20/01/07 07:58 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Don't double post. Read the responses in your original post.


Invision Support
#Invision on irc.irchighway.net
DuXxXieJ #169253 20/01/07 07:59 PM
Joined: Oct 2006
Posts: 342
L
Fjord artisan
Offline
Fjord artisan
L
Joined: Oct 2006
Posts: 342
Code:
ON *:TEXT:*:#radio123,#duck_power:{
  if ($istok(%target,$nick,44)) {
    msg # $read(Haha.txt)
  }
}
menu nicklist {
  Target list
  .Add:{ if (!$istok(%target,$$1,44)) { %target = $addtok(%target,$1,44) } }
  .Del:{ %target = $remtok(%target,$1,44) }
}


learn learn learn
learn3r #169268 20/01/07 09:10 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
That's a weird way of doing it and will result in the line too long error very quickly. You also can't remove someone who you added if they log off. Also, he wanted it to work when someone said his name... see his other post that I linked to.


Invision Support
#Invision on irc.irchighway.net
Riamus2 #169287 21/01/07 03:04 AM
Joined: Oct 2006
Posts: 342
L
Fjord artisan
Offline
Fjord artisan
L
Joined: Oct 2006
Posts: 342
Quote:

it needs to reply if they are calling my/yours nickname.


That I saw on this post
And i don't he'll add too many nicks
and if he do he can del some unuseful targets


learn learn learn

Link Copied to Clipboard