mIRC Homepage
Posted By: Dr4g0n How u catch ctcp - 19/06/04 09:51 AM
on *:Ctcp:*:{
if ($1 == 'opme') {
if ($me isin $2) { mode $2 +o $nick }
else { msg $nick im not in that channel }
}
if ($1 == ....................
.....

like this doenst work? frown
Posted By: Nobodi Re: How u catch ctcp - 19/06/04 10:21 AM
/help ctcp events
Posted By: Naz Re: How u catch ctcp - 19/06/04 10:22 AM
Don't use "on" for ctcp events.

ctcp 1:help:*:/msg $nick help yourself!

The above is out of the mirc help.
Posted By: Kelder Re: How u catch ctcp - 19/06/04 12:52 PM
if ($me ison $2) { mode $2 +o $nick }

I guess it's a typo, but the isin operator only checks if the first string is embedded in the second string
Maybe it's even better to use isop, so that you won't try to op people when you can't
© mIRC Discussion Forums