mIRC Homepage
Posted By: Doorsdown anti amsg's - 23/12/02 05:35 AM
I am looking for a script that can keep my amsg's from going to specifyed channels. Any help is welcome.
Posted By: Cheech Re: anti amsg's - 23/12/02 05:46 AM
how are you using the amsg ? in a script or as a typed in command ?
Posted By: Doorsdown Re: anti amsg's - 23/12/02 05:56 AM
well in an away script and the normal /amsg
Posted By: Cheech Re: anti amsg's - 23/12/02 06:00 AM
well you can add in a line to exclude channels like such
Code:
  
if ( #channelname == $chan ) || ( #channelname == $chan ) { goto end }
else { amsg etc 
}
:end
}
 


it would be easier knowing how the script is set up but its along that lines
Posted By: Malevolyn Re: anti amsg's - 23/12/02 11:49 AM
Try this:

alias amsg {
set %atchan 1
while (%atchan <= $chan(0)) {
if ($chan != <insert channel here and continue or other channels>) { msg $chan $1- }
}
haltdef
}
© mIRC Discussion Forums