mIRC Home    About    Download    Register    News    Help

Print Thread
#169235 20/01/07 07:35 PM
Joined: Jan 2007
Posts: 280
Fjord artisan
OP Offline
Fjord artisan
Joined: Jan 2007
Posts: 280
What is wrong with this?

Code:
 ON *:TEXT:*:#radio123,#duck_power:{
  $read (Haha.txt)) {
  }
} 


HELP!


Squee whenever a squee squee's. Squee whenever a squee does not squee.
DuXxXieJ #169237 20/01/07 07:39 PM
Joined: Apr 2006
Posts: 464
O
Fjord artisan
Offline
Fjord artisan
O
Joined: Apr 2006
Posts: 464
Code:
set %channels #radio123,#duck_power

ON *:TEXT:!read:%channels:{
  msg $chan $read(Haha.txt)
}

DuXxXieJ #169238 20/01/07 07:40 PM
Joined: Oct 2006
Posts: 342
L
Fjord artisan
Offline
Fjord artisan
L
Joined: Oct 2006
Posts: 342
Code:
ON *:TEXT:*:#radio123,#duck_power:{
  msg # $read(Haha.txt)
}



Maybe thats what you're looking for


learn learn learn
learn3r #169239 20/01/07 07:42 PM
Joined: Jan 2007
Posts: 280
Fjord artisan
OP Offline
Fjord artisan
Joined: Jan 2007
Posts: 280
Hey, thanks!

*Huggles*


Squee whenever a squee squee's. Squee whenever a squee does not squee.
DuXxXieJ #169240 20/01/07 07:45 PM
Joined: Jan 2007
Posts: 280
Fjord artisan
OP Offline
Fjord artisan
Joined: Jan 2007
Posts: 280
Wait! It is not good.
cause it needs to reply on If nick is $me or something!


Squee whenever a squee squee's. Squee whenever a squee does not squee.
DuXxXieJ #169245 20/01/07 07:52 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)
  }
}


/set %target yournick,someelse`snick,etc.

just put a comma every end of the nicks
example
/set %target masternick,nickmaster,nmaster

Code:
menu nicklist {
  Target list
  .Add:{ if (!$istok(%target,$$1,44)) { %target = $addtok(%target,$1,44) } }
  .Del:{ %target = $remtok(%target,$1,44) }
}


Here's a menu on nicklist there you can add the nicks you want your bot to reply with

Last edited by learn3r; 20/01/07 07:57 PM.

learn learn learn
DuXxXieJ #169246 20/01/07 07:53 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
You should really be more specific about what you want. This might be what you want, but since you don't really say, I'm just guessing.

Code:
ON *:TEXT:*:#radio123,#duck_power:{
  if ($me isin $1-) {
    msg # $read(Haha.txt)
  }
}


That will respond whenever your nick is used.


Invision Support
#Invision on irc.irchighway.net
Riamus2 #169248 20/01/07 07:54 PM
Joined: Jan 2007
Posts: 280
Fjord artisan
OP Offline
Fjord artisan
Joined: Jan 2007
Posts: 280
ty


Squee whenever a squee squee's. Squee whenever a squee does not squee.

Link Copied to Clipboard