IRCop WhoisAlerter

By Spoof on Sep 15, 2011

loads into a new remote file.
This script was made and tested on mIRC 6.35

This script will display the a temp sidebar window with the nick that used the /whois command
on you along with your current timestamps( date/time).
It is intended for any level IRCop for a server.

on ^*:snotice:* did a /whois on you.: {
  if (%WhoisAlerter == $on) {
    window @WhoisAlert
    aline @WhoisAlert $2 has used a WHOIS command on $me $date(mm/dd/yyyy) $time(hh:nntt) $+ .
  }
}

;[read write Audibledata/setting.ini]
alias _ar {
  if ($exists(WhoisAlerterdata\setting.ini) == $false) { mkdir WhoisAlerterdata | write -c WhoisAlerterdata\setting.ini }
  return $readini WhoisAlerterdata\setting.ini $$1 $$2 
}
alias _aw {
  if ($exists(WhoisAlerterdata\setting.ini) == $false) { mkdir WhoisAlerterdata | write -c WhoisAlerterdata\setting.ini }
  writeini WhoisAlerterdata\setting.ini $$1 $$2 $$3-
}
menu * {
  [IRCop WhoisAlerter]
  .on $aao:_aw WhoisAlerter switch on
  .off $aaf:_aw WhoisAlerter switch off
}

alias -l aao { 
  if ($_ar(WhoisAlerter,switch) == on) { return [x] }
}
alias -l aaf { 
  if ($_ar(WhoisAlerter,switch) == off) { return [x] }
}

Comments

Sign in to comment.
Jethro   -  Sep 17, 2011

Yeah I agree with jaytea's point of view on that.

 Respond  
Jethro   -  Sep 17, 2011

Dean, get with the program. I wasn't talking about mIRC being translated in different languages. I was referring to those who refuse to upgrade that miss out on the functionality support that's been added in the latest versions, let alone the security bugs and unpatched holes...they put themselves at risk.

 Respond  
jaytea   -  Sep 17, 2011

ignoring newer features so as not to inconvenience users of years old versions of the client is the exact opposite of what we, a community who is at the forefront of mIRC script development, should be doing. we should be coming up with scripts that utilize newer features of mIRC (upnp, IPv6, etc.) because these are the scripts that haven't been done before. people need to learn that they should upgrade to get the most out of modern day scripts. limiting ourselves to strict compatibility with 6.21 is just as arbitrary as doing so for mIRC 5.91, or 4.7, or 3.2. it doesn't make any sense.

 Respond  
_Dean_   -  Sep 17, 2011

Jethro this is not true... i know a lot of ppl, french, and spanish, that just use spanish and french ripped versions of mIRC cause its the only way for them, to use it, since they are no good on english
in most cases, the ppl who translate mIRC stopped at version 6.35, but i've seen like 6.22 and 6.17, but its their only choice

 Respond  
Jethro   -  Sep 17, 2011

napa, the tip support was introduced, like, in v6.30? While I think it's a good idea to have a text balloon pop up in your window tray, it may not be lucky for those diehard minorities who're married to old mIRC versions, ya know? :/ They refuse to get a divorce from their beloved versions for personal reasons as we know it...

 Respond  
napa182   -  Sep 17, 2011

just a thought instead of using a window wouldn't it be easier to use a $tip command? well i guess using a $tip would be fine if you are at the pc and the window while you were afk. nvm was just a thought nothing more..

 Respond  
Jethro   -  Sep 16, 2011

Just remember this: it's now or never!

 Respond  
Frenetic   -  Sep 16, 2011

Yeah, reverse word for word day was then but is now not.

 Respond  
Jethro   -  Sep 16, 2011

Write on!

 Respond  
Frenetic   -  Sep 16, 2011

No Jethro

 Respond  
Jethro   -  Sep 16, 2011

You meant the word write, right?

 Respond  
Frenetic   -  Sep 16, 2011

Why would you get it to write to a file?

 Respond  
Jethro   -  Sep 16, 2011

I know it's force of habit, but it's really purposeless to use> else { return }This can be shortened a tiny bit:> $$1 $$2 $$3-

$$1-2 $$3-

and> $$1 $$2can be

$$1-2
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.