Me need help +pm | +notice - 03/03/07 05:06 PM
Im new here... im a newbie i need a script for my mIRC
here's the situation
if i type +pm it will ignore the PM
if i type -pm it will unignore the PM
if i type +notice it will ignore the "notice"
if i type -notice it will unignore the "notice"
if i type +dcc it will ignore DCC
if i type -dcc it will unignore DCC
if i type +version it will ignore CTCP Version
if i type -version it will unignore ctcp version
if i type +finger it will ignnore the Finger version reply
if i type -finger it will unignore it.
i tried to do it with this but i had lots of errors
on 1:input:#:{
if ( $2 == +pm ) { if ($chr(35) isin $strip($3-)) { .ignore -p *!*@* } | else { .ignore -p *!*@* } }
if ( $2 == -pm ) { if ($chr(35) isin $strip($3-)) { .unignore -p *!*@* } | else { .unignore -p *!*@* } }
if ( $2 == +notice ) { if ($chr(35) isin $strip($3-)) { .ignore -n *!*@* } | else { .ignore -n *!*@* } }
if ( $2 == -notice ) { if ($chr(35) isin $strip($3-)) { .unignore -n *!*@* } | else { .unignore -n *!*@* } }
if ( $2 == +dcc ) { if ($chr(35) isin $strip($3-)) { .ignore -d *!*@* } | else { .ignore -d *!*@* } }
if ( $2 == -dcc ) { if ($chr(35) isin $strip($3-)) { .unignore -d *!*@* } | else { .unignore -d *!*@* } }
if ( $2 == +version ) { if ($chr(35) isin $strip($3-)) { .ignore -t *!*@* } | else { .ignore -t *!*@* } }
if ( $2 == -version ) { if ($chr(35) isin $strip($3-)) { .unignore -t *!*@* } | else { .unignore -t *!*@* } }
if ( $2 == cinfo ) { if ($chr(35) isin $strip($3-)) { .msg x chaninfo $3- } | else { .msg x chaninfo $active } }
if ( $2 == +finger ) { if ($chr(35) isin $strip($3-)) { .ignore -f *!*@* } | else { .ignore -f *!*@*} }
if ( $2 == -finger ) { if ($chr(35) isin $strip($3-)) { .unignore -f *!*@* } | else { .unignore -f *!*@* } }
Thanx in advance...
whenever i type i get lots of error
thanx barosanu of ROMANIA!
here's the situation
if i type +pm it will ignore the PM
if i type -pm it will unignore the PM
if i type +notice it will ignore the "notice"
if i type -notice it will unignore the "notice"
if i type +dcc it will ignore DCC
if i type -dcc it will unignore DCC
if i type +version it will ignore CTCP Version
if i type -version it will unignore ctcp version
if i type +finger it will ignnore the Finger version reply
if i type -finger it will unignore it.
i tried to do it with this but i had lots of errors
on 1:input:#:{
if ( $2 == +pm ) { if ($chr(35) isin $strip($3-)) { .ignore -p *!*@* } | else { .ignore -p *!*@* } }
if ( $2 == -pm ) { if ($chr(35) isin $strip($3-)) { .unignore -p *!*@* } | else { .unignore -p *!*@* } }
if ( $2 == +notice ) { if ($chr(35) isin $strip($3-)) { .ignore -n *!*@* } | else { .ignore -n *!*@* } }
if ( $2 == -notice ) { if ($chr(35) isin $strip($3-)) { .unignore -n *!*@* } | else { .unignore -n *!*@* } }
if ( $2 == +dcc ) { if ($chr(35) isin $strip($3-)) { .ignore -d *!*@* } | else { .ignore -d *!*@* } }
if ( $2 == -dcc ) { if ($chr(35) isin $strip($3-)) { .unignore -d *!*@* } | else { .unignore -d *!*@* } }
if ( $2 == +version ) { if ($chr(35) isin $strip($3-)) { .ignore -t *!*@* } | else { .ignore -t *!*@* } }
if ( $2 == -version ) { if ($chr(35) isin $strip($3-)) { .unignore -t *!*@* } | else { .unignore -t *!*@* } }
if ( $2 == cinfo ) { if ($chr(35) isin $strip($3-)) { .msg x chaninfo $3- } | else { .msg x chaninfo $active } }
if ( $2 == +finger ) { if ($chr(35) isin $strip($3-)) { .ignore -f *!*@* } | else { .ignore -f *!*@*} }
if ( $2 == -finger ) { if ($chr(35) isin $strip($3-)) { .unignore -f *!*@* } | else { .unignore -f *!*@* } }
Thanx in advance...
whenever i type i get lots of error
thanx barosanu of ROMANIA!