mIRC Home    About    Download    Register    News    Help

Print Thread
#3137 23/12/02 05:35 AM
Joined: Dec 2002
Posts: 10
D
Pikka bird
OP Offline
Pikka bird
D
Joined: Dec 2002
Posts: 10
I am looking for a script that can keep my amsg's from going to specifyed channels. Any help is welcome.


-=Doorsdown=-
Needs help!
#3138 23/12/02 05:46 AM
Joined: Dec 2002
Posts: 332
C
Fjord artisan
Offline
Fjord artisan
C
Joined: Dec 2002
Posts: 332
how are you using the amsg ? in a script or as a typed in command ?

#3139 23/12/02 05:56 AM
Joined: Dec 2002
Posts: 10
D
Pikka bird
OP Offline
Pikka bird
D
Joined: Dec 2002
Posts: 10
well in an away script and the normal /amsg


-=Doorsdown=-
Needs help!
#3140 23/12/02 06:00 AM
Joined: Dec 2002
Posts: 332
C
Fjord artisan
Offline
Fjord artisan
C
Joined: Dec 2002
Posts: 332
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

#3141 23/12/02 11:49 AM
Joined: Dec 2002
Posts: 10
M
Pikka bird
Offline
Pikka bird
M
Joined: Dec 2002
Posts: 10
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
}


--------------

~ Malevolyn - Script Guru
Current Projects:
BadCRC IRC 2002-2003
concepts

Link Copied to Clipboard