mIRC Home    About    Download    Register    News    Help

Print Thread
reply automatically #61208 20/11/03 03:40 PM
Joined: Nov 2003
Posts: 81
F
FMJ Offline OP
Babel fish
OP Offline
Babel fish
F
Joined: Nov 2003
Posts: 81
how to do reply the script to a private message?

Re: reply automatically #61209 20/11/03 03:41 PM
Joined: Dec 2002
Posts: 3,138
C
Collective Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
on *:TEXT:Hello:?:msg $nick Hi

Says "Hi" when people message you with "Hello".

Re: reply automatically #61210 20/11/03 03:49 PM
Joined: Nov 2003
Posts: 81
F
FMJ Offline OP
Babel fish
OP Offline
Babel fish
F
Joined: Nov 2003
Posts: 81
this reply if text receive is "Hello" but if I would reply only if text contains word "mirc"?

Re: reply automatically #61211 20/11/03 04:31 PM
Joined: Nov 2003
Posts: 67
C
Canario Offline
Babel fish
Offline
Babel fish
C
Joined: Nov 2003
Posts: 67
Then change the word for the word mirc or use an if.

ON *:TEXT:*:?:{
if ($istok($1-,mirc,32)) { msg $nick message }
}

I like to use $istok you can use iswm or isin.



irc.universochat.net
#escripting
Re: reply automatically #61212 20/11/03 06:55 PM
Joined: Nov 2003
Posts: 81
F
FMJ Offline OP
Babel fish
OP Offline
Babel fish
F
Joined: Nov 2003
Posts: 81
what means 32?

Re: reply automatically #61213 20/11/03 07:55 PM
Joined: Dec 2002
Posts: 3,138
C
Collective Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
32 is the ascii number for the space character.

Re: reply automatically #61214 20/11/03 08:03 PM
Joined: Nov 2003
Posts: 81
F
FMJ Offline OP
Babel fish
OP Offline
Babel fish
F
Joined: Nov 2003
Posts: 81
and to reply to a message sent on public channel?

Re: reply automatically #61215 20/11/03 11:09 PM
Joined: Apr 2003
Posts: 426
neophyte Offline
Fjord artisan
Offline
Fjord artisan
Joined: Apr 2003
Posts: 426
/help on TEXT


--------
mIRC - fun for all the family (except grandma and grandpa)
Re: reply automatically #61216 21/11/03 02:25 PM
Joined: Nov 2003
Posts: 81
F
FMJ Offline OP
Babel fish
OP Offline
Babel fish
F
Joined: Nov 2003
Posts: 81
ok, now I understand but you could say what are arguments in syntax... thank the same

Re: reply automatically #61217 21/11/03 02:29 PM
Joined: Nov 2003
Posts: 81
F
FMJ Offline OP
Babel fish
OP Offline
Babel fish
F
Joined: Nov 2003
Posts: 81
but to have nick who chat in public channel? $nick doesn't work...

Re: reply automatically #61218 22/11/03 10:29 AM
Joined: Nov 2003
Posts: 81
F
FMJ Offline OP
Babel fish
OP Offline
Babel fish
F
Joined: Nov 2003
Posts: 81
nobody knows how to have nick that chat in public channel?

Re: reply automatically #61219 22/11/03 12:26 PM
Joined: Dec 2002
Posts: 3,138
C
Collective Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
In an on *:TEXT:*:#:{ event $nick is set to the persob who spoke.

Re: reply automatically #61220 01/12/03 10:33 PM
Joined: Feb 2003
Posts: 810
C
cold Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Feb 2003
Posts: 810
Please read the help file, most answers you've been looking for are really all there.


* cold edits his posts 24/7