Mainframeguy
Debiant by way of Ubuntu
- Joined
- 29 Aug 2002
- Messages
- 3,763
I thought I would dip my toe into the murky waters of mIRC scripting so that if I leave myself signed in and a shed-load of saddos send me messages like "hi, ASL?" while I am away they can be discouraged...
I had partial success but feel need to improve & correct what I have. I also probably need to read up and practice more, but that will take time....
Here is the script I have at the moment:-
I feel sure this code could be oh so improved (it only seems to work for one of the cases presently even, so it is bugged, and/or that there may be a tool to cover this area already out there.... "Peace and Protection" has been commended to me, but I have not gone so far as look into it further and thought I would post here first...
C'mon and dazzle me with your scripting brilliance any mIRC script munkehs out there!
I had partial success but feel need to improve & correct what I have. I also probably need to read up and practice more, but that will take time....
Here is the script I have at the moment:-
Code:
/ASL {
on 1:TEXT:*ASL:?:{
set -u2 %frosk %antiasl. [ $+ [ $address ] ]
if (%frosk != done) {
echo -s $nick has been ignored
msg $nick ASL MY ASS - feel free to try again in 5 minutes, but I have script to autoignore ASLers so talk next time!
ignore -pntiu300 $address
window -c $nick
set -u60 %antiasl. $+ $address done
}
}
on 1:TEXT:*sal:?:{
set -u2 %frosk %antiasl. [ $+ [ $address ] ]
if (%frosk != done) {
echo -s $nick has been ignored
msg $nick ASL MY ASS - feel free to try again in 5 minutes, but I have script to autoignore ASLers so talk next time!
ignore -pntiu300 $address
window -c $nick
set -u60 %antiasl. $+ $address done
}
}
on 1:TEXT:*asl.?:?:{
set -u2 %frosk %antiasl. [ $+ [ $address ] ]
if (%frosk != done) {
echo -s $nick has been ignored
msg $nick ASL MY ASS - feel free to try again in 5 minutes, but I have script to autoignore ASLers so talk next time!
ignore -pntiu300 $address
window -c $nick
set -u60 %antiasl. $+ $address done
}
}
}
I feel sure this code could be oh so improved (it only seems to work for one of the cases presently even, so it is bugged, and/or that there may be a tool to cover this area already out there.... "Peace and Protection" has been commended to me, but I have not gone so far as look into it further and thought I would post here first...
C'mon and dazzle me with your scripting brilliance any mIRC script munkehs out there!