Simple mIRC script help

Mainframeguy

Debiant by way of Ubuntu
#1
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:-

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!
 

Xie

- geek -
#2
I havn't touched mIRC scripting in a while but I'm sure that could be condenced a bunch. I made a similiar script back in the day, remind me and I'll grab it next time I fire up the XP box. ;)
 

Xie

- geek -
#4
X-Istence said:
Uhm, i never get those. What channels you ****ting on?
What network(s) you on X that you've never gotten one? I think most all the big ones have that type of stuff from time to time.

Oh and MFG, I have a script i put together but while looking @ it ealier my KVM died while on my XP box .. and Mac box is one w/ net connection. Anyhoo ended up doing a hard power off to Mac because was no waking up KVM. I switched cables so Mac is 1st now but I'm not sure I'm brave enough to try it again tonight. Also language in script might not be good for me to paste in forum, perhaps I can DCC it to you sometime. :)
 

Mainframeguy

Debiant by way of Ubuntu
#5
If I ever catch you or you me in #OSNN on IRC then sure thing - but no great urgency on this one, I was just messing about and this would fall into the category of "useful fiddling" for me I guess....

I think there has gotta be an error in the script I posted too - because it's only sensitive to one of the cases, not all.

Anyone else does mIRC scripts?
 

Xie

- geek -
#6
MFG, you got 3 blocks of code that are the same thing. :p I would try removing 2 of the 3 to begin with. :p Also check out the "on" options. I believe a "*" instead of a "1" would catch more.
 

Xie

- geek -
#8
X-Istence said:
Efnet, Quakenet, GameSurge, Squeaknet.
Intersting, and impressive on at least efnet and quakenet as they are large networks. I'm not sure about gamesurge size as I've never heard of it. :p
 

Members online

No members online now.

Latest posts

Latest profile posts

Perris Calderon wrote on Electronic Punk's profile.
Ep, glad to see you come back and tidy up...did want to ask a one day favor, I want to enhance my resume , was hoping you could make me administrator for a day, if so, take me right off since I won't be here to do anything, and don't know the slightest about the board, but it would be nice putting "served administrator osnn", if can do, THANKS

Been running around Quora lately, luv it there https://tinyurl.com/ycpxl
Electronic Punk wrote on Perris Calderon's profile.
All good still mate?
Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,970
Messages
673,297
Members
89,018
Latest member
qotipory