mIRC Home    About    Download    Register    News    Help

Print Thread
#53321 10/10/03 07:23 PM
Joined: Aug 2003
Posts: 73
D
Babel fish
OP Offline
Babel fish
D
Joined: Aug 2003
Posts: 73
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.

IRC (Idiots Relay Chat) :tongue:

{]TDN[}Deadly-Sin
#53322 10/10/03 07:32 PM
Joined: Mar 2003
Posts: 41
B
Ameglian cow
Offline
Ameglian cow
B
Joined: Mar 2003
Posts: 41
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
Joined: Aug 2003
Posts: 73
D
Babel fish
OP Offline
Babel fish
D
Joined: Aug 2003
Posts: 73
thx m8 grin


IRC (Idiots Relay Chat) :tongue:

{]TDN[}Deadly-Sin
#53324 18/10/03 10:21 AM
Joined: Oct 2003
Posts: 18
I
Pikka bird
Offline
Pikka bird
I
Joined: Oct 2003
Posts: 18
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,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
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