mIRC Home    About    Download    Register    News    Help

Print Thread
#53321 10/10/03 07:23 PM
D
DeadlySin
DeadlySin
D
i need help ith halt i got this on text script were if say like bob says something in query like hi i want to send him back saying hi and if jim say hi i dont say anything i did this:

Code:
on *:TEXT:hi:?:{
  if ($nick == bob) msg $nick hi | msg $nick How u doing
} 


Is that right and how could i put on there a halt for any other user that says hi

Thx confused

Last edited by DeadlySin; 10/10/03 07:25 PM.
#53322 10/10/03 07:32 PM
B
BORR
BORR
B
Code:
 
on *:TEXT:hi:?: {
  if ($nick == bob) { msg $nick hi | msg $nick How u doing }
} 
 


seems right 2 me

#53323 10/10/03 07:35 PM
D
DeadlySin
DeadlySin
D
thx m8 grin

#53324 18/10/03 10:21 AM
I
Insanatic
Insanatic
I
you forgot to put the *after the hi.it should look like this
on *:TEXT:hi*:#:{

#53325 18/10/03 10:23 AM
Joined: Dec 2002
Posts: 3,015
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,015
The only difference that makes is that it will respond to any line beginning with hi rather than a line of "hi" and nothing else.


Link Copied to Clipboard