mIRC Homepage
Posted By: FMJ reply automatically - 20/11/03 03:40 PM
how to do reply the script to a private message?
Posted By: Collective Re: reply automatically - 20/11/03 03:41 PM
on *:TEXT:Hello:?:msg $nick Hi

Says "Hi" when people message you with "Hello".
Posted By: FMJ Re: reply automatically - 20/11/03 03:49 PM
this reply if text receive is "Hello" but if I would reply only if text contains word "mirc"?
Posted By: Canario Re: reply automatically - 20/11/03 04:31 PM
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.

Posted By: FMJ Re: reply automatically - 20/11/03 06:55 PM
what means 32?
Posted By: Collective Re: reply automatically - 20/11/03 07:55 PM
32 is the ascii number for the space character.
Posted By: FMJ Re: reply automatically - 20/11/03 08:03 PM
and to reply to a message sent on public channel?
Posted By: neophyte Re: reply automatically - 20/11/03 11:09 PM
/help on TEXT
Posted By: FMJ Re: reply automatically - 21/11/03 02:25 PM
ok, now I understand but you could say what are arguments in syntax... thank the same
Posted By: FMJ Re: reply automatically - 21/11/03 02:29 PM
but to have nick who chat in public channel? $nick doesn't work...
Posted By: FMJ Re: reply automatically - 22/11/03 10:29 AM
nobody knows how to have nick that chat in public channel?
Posted By: Collective Re: reply automatically - 22/11/03 12:26 PM
In an on *:TEXT:*:#:{ event $nick is set to the persob who spoke.
Posted By: cold Re: reply automatically - 01/12/03 10:33 PM
Please read the help file, most answers you've been looking for are really all there.
© mIRC Discussion Forums