mIRC Home    About    Download    Register    News    Help

Print Thread
On query go to notice #171114 19/02/07 04:32 PM
Joined: Jan 2007
Posts: 5
M
MiKeL102 Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
M
Joined: Jan 2007
Posts: 5
This bot I play on a server reacts to its commands over a PM. I would like to use a script which redirects the messages to notices. But only for that specific nick.

P.S The nick is NS2

Re: On query go to notice [Re: MiKeL102] #171122 19/02/07 07:10 PM
Joined: Nov 2005
Posts: 105
D
drc4 Offline
Vogon poet
Offline
Vogon poet
D
Joined: Nov 2005
Posts: 105
This can easily be done. But the thing is, you'll have to alter the on QUERY script that you already have. Reason being, mIRC will react to the first one it gets to, ignoring any others after it. The implementation is rather easy, so you should be able to do it youself. If not, paste the code (or if it's rather long, paste it to a pastebin, and paste the pastebin url here.)
Just try adding
Code:
if ($nick == NS2) {
 notice $me ( $+ $nick $+ ) $$1-
 haltdef
}