On Thu 15-Jul-1999  5:54p, [EMAIL PROTECTED] wrote:
m> For example: *!*@ti01*.dialup.online.no will be someone in Norway, using
m> Telenor Internet, connecting to a node in Oslo.

m> It would be nice to have this information as part of the whois info, or
m> perhaps as a separate command (whereis?).


Okay, I hacked it out in a simple way... But it could really be expanded.

Right now, you simply make an alias:

/alias Country /rx AmIRC:Rexx/Country.amirx %p

Then type:

/country .br   and it returns brazil.

/country Brazil returns the information for brazil also.

I could expand this to allow the following:

Added to a join script to display the country of anyone joining who
comes in with a host (doing IP's is a bit more complex of course).

Allow you to type /country .cn/Country/Nick
  This would allow you to specify a nick to check the country of, and
  if that person was not found in the channel list, then assume you are
  asking about a specify country...   parse for .xxxx and if the '.' is
  found, then lookup as a country.


However, I have placed the silly thing on my FTP.

ftp.amicon.net, in the dir AmIRC/ as CountryAmirx100.LhA


Let me know if it blows up or something...

John

DR. John M. Hoyt / AKA Warren Peace  -  amicon.net SysAdmin
                       WarNPeace     -  irc.BeyondIRC.Net NetAdmin
                                     -  C-Link! International Coordinator
    - Finger me for PGP key -        -  ZenMetal/CNet Alpha Team


__________________________________________________________
AmIRC Mailing List - Info & Archive: http://www.vapor.com/
For Listserver Help: <[EMAIL PROTECTED]>, "HELP"
To Unsubscribe: <[EMAIL PROTECTED]>, "UNSUBSCRIBE"

Reply via email to