PowerPuffGold.2000 — File Browser

PowerPuffGold.2000v2.0 / PowerPuffGold.2000v2.0 / PowerPuffGold2000 / remotes / country2.mrc

country2.mrc — 18.06 KB — Download this file

dialog ppgcountry {
  title "Country Code check"
  size -1 -1 170 190

  icon 1, -1 1 40 20, ppg2klogo.bmp, 0

  button "Find Code", 2, 15 50 60 25 
  edit "", 3, 80 50 80 25
  box "Enter Country Code Here", 4, 5 33 160 50
  edit "", 5, 12 110 145 25, read
  box "Your Country Results Are:", 6, 5 93 160 50

  button "Exit", 200, 60 150 50 25, OK default
}
alias ppgcountrycode { dialog -m ppgcountry ppgcountry -4 }
on *:DIALOG:ppgcountry:*:*:{
  if ($devent == sclick) {
    if ($did == 2) { 
      if ($did(3) == $null) { did -o ppgcountry 5 1 Duh! Enter Something Silly! | halt } 
      if ($did(3) == AD) { did -o ppgcountry 5 1 Andorra | halt }
      if ($did(3) == AE) { did -o ppgcountry 5 1 United Arab Emirates | halt }
      if ($did(3) == AF) { did -o ppgcountry 5 1 Afghanistan | halt }
      if ($did(3) == AG) { did -o ppgcountry 5 1 Antigua and Barbuda | halt }
      if ($did(3) == AI) { did -o ppgcountry 5 1 Anguilla | halt }
      if ($did(3) == AL) { did -o ppgcountry 5 1 Albania | halt }
      if ($did(3) == AM) { did -o ppgcountry 5 1 Armenia | halt }
      if ($did(3) == AN) { did -o ppgcountry 5 1 Netherlands Antilles | halt }
      if ($did(3) == AO) { did -o ppgcountry 5 1 Angola | halt }
      if ($did(3) == AQ) { did -o ppgcountry 5 1 Antarctica | halt }
      if ($did(3) == AR) { did -o ppgcountry 5 1 Argentina | halt }
      if ($did(3) == AS) { did -o ppgcountry 5 1 American Samoa | halt }
      if ($did(3) == AT) { did -o ppgcountry 5 1 Austria | halt }
      if ($did(3) == AU) { did -o ppgcountry 5 1 Australia | halt }
      if ($did(3) == AW) { did -o ppgcountry 5 1 Aruba | halt }
      if ($did(3) == AZ) { did -o ppgcountry 5 1 Azerbaijan | halt }
      if ($did(3) == BA) { did -o ppgcountry 5 1 Bosnia and Herzegovina | halt }
      if ($did(3) == BB) { did -o ppgcountry 5 1 Barbados | halt }
      if ($did(3) == BD) { did -o ppgcountry 5 1 Bangladesh | halt }
      if ($did(3) == BE) { did -o ppgcountry 5 1 Belgium | halt }
      if ($did(3) == BF) { did -o ppgcountry 5 1 Burkina Faso | halt }
      if ($did(3) == BG) { did -o ppgcountry 5 1 Bulgaria | halt }
      if ($did(3) == BH) { did -o ppgcountry 5 1 Bahrain | halt }
      if ($did(3) == BI) { did -o ppgcountry 5 1 Burundi | halt }
      if ($did(3) == BJ) { did -o ppgcountry 5 1 Benin | halt }
      if ($did(3) == BM) { did -o ppgcountry 5 1 Bermuda | halt }
      if ($did(3) == BN) { did -o ppgcountry 5 1 Brunei Darussalam | halt }
      if ($did(3) == BO) { did -o ppgcountry 5 1 Bolivia | halt }
      if ($did(3) == BR) { did -o ppgcountry 5 1 Brazil | halt }
      if ($did(3) == BS) { did -o ppgcountry 5 1 Bahamas | halt }
      if ($did(3) == BT) { did -o ppgcountry 5 1 Bhutan | halt }
      if ($did(3) == BV) { did -o ppgcountry 5 1 Bouvet Island | halt }
      if ($did(3) == BW) { did -o ppgcountry 5 1 Botswana | halt }
      if ($did(3) == BY) { did -o ppgcountry 5 1 Belarus | halt }
      if ($did(3) == BZ) { did -o ppgcountry 5 1 Belize | halt }
      if ($did(3) == CA) { did -o ppgcountry 5 1 Canada | halt }
      if ($did(3) == CC) { did -o ppgcountry 5 1 Cocos (Keeling) Islands | halt }
      if ($did(3) == CF) { did -o ppgcountry 5 1 Central African Republic | halt }
      if ($did(3) == CG) { did -o ppgcountry 5 1 Congo | halt }
      if ($did(3) == CH) { did -o ppgcountry 5 1 Switzerland | halt }
      if ($did(3) == CI) { did -o ppgcountry 5 1 Cote D'Ivoire (Ivory Coast) | halt }
      if ($did(3) == CK) { did -o ppgcountry 5 1 Cook Islands | halt }
      if ($did(3) == CL) { did -o ppgcountry 5 1 Chile | halt }
      if ($did(3) == CM) { did -o ppgcountry 5 1 Cameroon | halt }
      if ($did(3) == CN) { did -o ppgcountry 5 1 China | halt }
      if ($did(3) == CO) { did -o ppgcountry 5 1 Colombia | halt }
      if ($did(3) == CR) { did -o ppgcountry 5 1 Costa Rica | halt }
      if ($did(3) == CS) { did -o ppgcountry 5 1 Czechoslovakia (former) | halt }
      if ($did(3) == CU) { did -o ppgcountry 5 1 Cuba | halt }
      if ($did(3) == CV) { did -o ppgcountry 5 1 Cape Verde | halt }
      if ($did(3) == CX) { did -o ppgcountry 5 1 Christmas Island | halt }
      if ($did(3) == CY) { did -o ppgcountry 5 1 Cyprus | halt }
      if ($did(3) == CZ) { did -o ppgcountry 5 1 Czech Republic | halt }
      if ($did(3) == DE) { did -o ppgcountry 5 1 Germany | halt }
      if ($did(3) == DJ) { did -o ppgcountry 5 1 Djibouti | halt }
      if ($did(3) == DK) { did -o ppgcountry 5 1 Denmark | halt }
      if ($did(3) == DM) { did -o ppgcountry 5 1 Dominica | halt }
      if ($did(3) == DO) { did -o ppgcountry 5 1 Dominican Republic | halt }
      if ($did(3) == DZ) { did -o ppgcountry 5 1 Algeria | halt }
      if ($did(3) == EC) { did -o ppgcountry 5 1 Ecuador | halt }
      if ($did(3) == EE) { did -o ppgcountry 5 1 Estonia | halt }
      if ($did(3) == EG) { did -o ppgcountry 5 1 Egypt | halt }
      if ($did(3) == EH) { did -o ppgcountry 5 1 Western Sahara | halt }
      if ($did(3) == ER) { did -o ppgcountry 5 1 Eritrea | halt }
      if ($did(3) == ES) { did -o ppgcountry 5 1 Spain | halt }
      if ($did(3) == ET) { did -o ppgcountry 5 1 Ethiopia | halt }
      if ($did(3) == FI) { did -o ppgcountry 5 1 Finland | halt }
      if ($did(3) == FJ) { did -o ppgcountry 5 1 Fiji | halt }
      if ($did(3) == FK) { did -o ppgcountry 5 1 Falkland Islands (Malvinas) | halt }
      if ($did(3) == FM) { did -o ppgcountry 5 1 Micronesia | halt }
      if ($did(3) == FO) { did -o ppgcountry 5 1 Faroe Islands | halt }
      if ($did(3) == FR) { did -o ppgcountry 5 1 France | halt }
      if ($did(3) == FX) { did -o ppgcountry 5 1 France, Metropolitan | halt }
      if ($did(3) == GA) { did -o ppgcountry 5 1 Gabon | halt }
      if ($did(3) == GB) { did -o ppgcountry 5 1 Great Britain (UK) | halt }
      if ($did(3) == GD) { did -o ppgcountry 5 1 Grenada | halt }
      if ($did(3) == GE) { did -o ppgcountry 5 1 Georgia | halt }
      if ($did(3) == GF) { did -o ppgcountry 5 1 French Guiana | halt }
      if ($did(3) == GH) { did -o ppgcountry 5 1 Ghana | halt }
      if ($did(3) == GI) { did -o ppgcountry 5 1 Gibraltar | halt }
      if ($did(3) == GL) { did -o ppgcountry 5 1 Greenland | halt }
      if ($did(3) == GM) { did -o ppgcountry 5 1 Gambia | halt }
      if ($did(3) == GN) { did -o ppgcountry 5 1 Guinea | halt }
      if ($did(3) == GP) { did -o ppgcountry 5 1 Guadeloupe | halt }
      if ($did(3) == GQ) { did -o ppgcountry 5 1 Equatorial Guinea | halt }
      if ($did(3) == GR) { did -o ppgcountry 5 1 Greece | halt }
      if ($did(3) == GS) { did -o ppgcountry 5 1 S. Georgia and S. Sandwich Isls. | halt }
      if ($did(3) == GT) { did -o ppgcountry 5 1 Guatemala | halt }
      if ($did(3) == GU) { did -o ppgcountry 5 1 Guam | halt }
      if ($did(3) == GW) { did -o ppgcountry 5 1 Guinea-Bissau | halt }
      if ($did(3) == GY) { did -o ppgcountry 5 1 Guyana | halt }
      if ($did(3) == HK) { did -o ppgcountry 5 1 Hong Kong | halt }
      if ($did(3) == HM) { did -o ppgcountry 5 1 Heard and McDonald Islands | halt }
      if ($did(3) == HN) { did -o ppgcountry 5 1 Honduras | halt }
      if ($did(3) == HR) { did -o ppgcountry 5 1 Croatia (Hrvatska) | halt }
      if ($did(3) == HT) { did -o ppgcountry 5 1 Haiti | halt }
      if ($did(3) == HU) { did -o ppgcountry 5 1 Hungary | halt }
      if ($did(3) == ID) { did -o ppgcountry 5 1 Indonesia | halt }
      if ($did(3) == IE) { did -o ppgcountry 5 1 Ireland | halt }
      if ($did(3) == IL) { did -o ppgcountry 5 1 Israel | halt }
      if ($did(3) == IN) { did -o ppgcountry 5 1 India | halt }
      if ($did(3) == IO) { did -o ppgcountry 5 1 British Indian Ocean Territory | halt }
      if ($did(3) == IQ) { did -o ppgcountry 5 1 Iraq | halt }
      if ($did(3) == IR) { did -o ppgcountry 5 1 Iran | halt }
      if ($did(3) == IS) { did -o ppgcountry 5 1 Iceland | halt }
      if ($did(3) == IT) { did -o ppgcountry 5 1 Italy | halt }
      if ($did(3) == JM) { did -o ppgcountry 5 1 Jamaica | halt }
      if ($did(3) == JO) { did -o ppgcountry 5 1 Jordan | halt }
      if ($did(3) == JP) { did -o ppgcountry 5 1 Japan | halt }
      if ($did(3) == KE) { did -o ppgcountry 5 1 Kenya | halt }
      if ($did(3) == KG) { did -o ppgcountry 5 1 Kyrgyzstan | halt }
      if ($did(3) == KH) { did -o ppgcountry 5 1 Cambodia | halt }
      if ($did(3) == KI) { did -o ppgcountry 5 1 Kiribati | halt }
      if ($did(3) == KM) { did -o ppgcountry 5 1 Comoros | halt }
      if ($did(3) == KN) { did -o ppgcountry 5 1 Saint Kitts and Nevis | halt }
      if ($did(3) == KP) { did -o ppgcountry 5 1 Korea (North) | halt }
      if ($did(3) == KR) { did -o ppgcountry 5 1 Korea (South) | halt }
      if ($did(3) == KW) { did -o ppgcountry 5 1 Kuwait | halt }
      if ($did(3) == KY) { did -o ppgcountry 5 1 Cayman Islands | halt }
      if ($did(3) == KZ) { did -o ppgcountry 5 1 Kazakhstan | halt }
      if ($did(3) == LA) { did -o ppgcountry 5 1 Laos | halt }
      if ($did(3) == LB) { did -o ppgcountry 5 1 Lebanon | halt }
      if ($did(3) == LC) { did -o ppgcountry 5 1 Saint Lucia | halt }
      if ($did(3) == LI) { did -o ppgcountry 5 1 Liechtenstein | halt }
      if ($did(3) == LK) { did -o ppgcountry 5 1 Sri Lanka | halt }
      if ($did(3) == LR) { did -o ppgcountry 5 1 Liberia | halt }
      if ($did(3) == LS ) { did -o ppgcountry 5 1 Lesotho | halt }
      if ($did(3) == LT) { did -o ppgcountry 5 1 Lithuania | halt }
      if ($did(3) == LU) { did -o ppgcountry 5 1 Luxembourg | halt }
      if ($did(3) == LV) { did -o ppgcountry 5 1 Latvia | halt }
      if ($did(3) == LY) { did -o ppgcountry 5 1 Libya | halt }
      if ($did(3) == MA) { did -o ppgcountry 5 1 Morocco | halt }
      if ($did(3) == MC) { did -o ppgcountry 5 1 Monaco | halt }
      if ($did(3) == MD) { did -o ppgcountry 5 1 Moldova | halt }
      if ($did(3) == MG) { did -o ppgcountry 5 1 Madagascar | halt }
      if ($did(3) == MH) { did -o ppgcountry 5 1 Marshall Islands | halt }
      if ($did(3) == MK) { did -o ppgcountry 5 1 Macedonia | halt }
      if ($did(3) == ML) { did -o ppgcountry 5 1 Mali | halt }
      if ($did(3) == MM) { did -o ppgcountry 5 1 Myanmar | halt }
      if ($did(3) == MN) { did -o ppgcountry 5 1 Mongolia | halt }
      if ($did(3) == MO) { did -o ppgcountry 5 1 Macau | halt }
      if ($did(3) == MP) { did -o ppgcountry 5 1 Northern Mariana Islands | halt }
      if ($did(3) == MQ) { did -o ppgcountry 5 1 Martinique | halt }
      if ($did(3) == MR) { did -o ppgcountry 5 1 Mauritania | halt }
      if ($did(3) == MS) { did -o ppgcountry 5 1 Montserrat | halt }
      if ($did(3) == MT) { did -o ppgcountry 5 1 Malta | halt }
      if ($did(3) == MU) { did -o ppgcountry 5 1 Mauritius | halt }
      if ($did(3) == MV) { did -o ppgcountry 5 1 Maldives | halt }
      if ($did(3) == MW) { did -o ppgcountry 5 1 Malawi | halt }
      if ($did(3) == MX) { did -o ppgcountry 5 1 Mexico | halt }
      if ($did(3) == MY) { did -o ppgcountry 5 1 Malaysia | halt }
      if ($did(3) == MZ) { did -o ppgcountry 5 1 Mozambique | halt }
      if ($did(3) == NA) { did -o ppgcountry 5 1 Namibia | halt }
      if ($did(3) == NC) { did -o ppgcountry 5 1 New Caledonia | halt }
      if ($did(3) == NE) { did -o ppgcountry 5 1 Niger | halt }
      if ($did(3) == NF) { did -o ppgcountry 5 1 Norfolk Island | halt }
      if ($did(3) == NG) { did -o ppgcountry 5 1 Nigeria | halt }
      if ($did(3) == NI) { did -o ppgcountry 5 1 Nicaragua | halt }
      if ($did(3) == NL) { did -o ppgcountry 5 1 Netherlands | halt }
      if ($did(3) == NO) { did -o ppgcountry 5 1 Norway | halt }
      if ($did(3) == NP) { did -o ppgcountry 5 1 Nepal | halt }
      if ($did(3) == NR) { did -o ppgcountry 5 1 Nauru | halt }
      if ($did(3) == NT) { did -o ppgcountry 5 1 Neutral Zone | halt }
      if ($did(3) == NU) { did -o ppgcountry 5 1 Niue | halt }
      if ($did(3) == NZ) { did -o ppgcountry 5 1 New Zealand (Aotearoa) | halt }
      if ($did(3) == OM) { did -o ppgcountry 5 1 Oman | halt }
      if ($did(3) == PA) { did -o ppgcountry 5 1 Panama | halt }
      if ($did(3) == PE) { did -o ppgcountry 5 1 Peru | halt }
      if ($did(3) == PF) { did -o ppgcountry 5 1 French Polynesia | halt }
      if ($did(3) == PG) { did -o ppgcountry 5 1 Papua New Guinea | halt }
      if ($did(3) == PH) { did -o ppgcountry 5 1 Philippines | halt }
      if ($did(3) == PK) { did -o ppgcountry 5 1 Pakistan | halt }
      if ($did(3) == PL) { did -o ppgcountry 5 1 Poland | halt }
      if ($did(3) == PM) { did -o ppgcountry 5 1 St. Pierre and Miquelon | halt }
      if ($did(3) == PN) { did -o ppgcountry 5 1 Pitcairn | halt }
      if ($did(3) == PR) { did -o ppgcountry 5 1 Puerto Rico | halt }
      if ($did(3) == PT) { did -o ppgcountry 5 1 Portugal | halt }
      if ($did(3) == PW) { did -o ppgcountry 5 1 Palau | halt }
      if ($did(3) == PY) { did -o ppgcountry 5 1 Paraguay | halt }
      if ($did(3) == QA) { did -o ppgcountry 5 1 Qatar | halt }
      if ($did(3) == RE) { did -o ppgcountry 5 1 Reunion | halt }
      if ($did(3) == RO) { did -o ppgcountry 5 1 Romania | halt }
      if ($did(3) == RU) { did -o ppgcountry 5 1 Russian Federation | halt }
      if ($did(3) == RW) { did -o ppgcountry 5 1 Rwanda | halt }
      if ($did(3) == SA) { did -o ppgcountry 5 1 Saudi Arabia | halt }
      if ($did(3) == Sb) { did -o ppgcountry 5 1 Solomon Islands | halt }
      if ($did(3) == SC) { did -o ppgcountry 5 1 Seychelles | halt }
      if ($did(3) == SD) { did -o ppgcountry 5 1 Sudan | halt }
      if ($did(3) == SE) { did -o ppgcountry 5 1 Sweden | halt }
      if ($did(3) == SG) { did -o ppgcountry 5 1 Singapore | halt }
      if ($did(3) == SH ) { did -o ppgcountry 5 1 St. Helena | halt }
      if ($did(3) == SI) { did -o ppgcountry 5 1 Slovenia | halt }
      if ($did(3) == SJ) { did -o ppgcountry 5 1 Svalbard and Jan Mayen Islands | halt }
      if ($did(3) == SK) { did -o ppgcountry 5 1 Slovak Republic | halt }
      if ($did(3) == SL) { did -o ppgcountry 5 1 Sierra Leone | halt }
      if ($did(3) == SM) { did -o ppgcountry 5 1 San Marino | halt }
      if ($did(3) == SN) { did -o ppgcountry 5 1 Senegal | halt }
      if ($did(3) == SO) { did -o ppgcountry 5 1 Somalia | halt }
      if ($did(3) == SR) { did -o ppgcountry 5 1 Suriname | halt }
      if ($did(3) == ST) { did -o ppgcountry 5 1 Sao Tome and Principe | halt }
      if ($did(3) == SU) { did -o ppgcountry 5 1 USSR (former) | halt }
      if ($did(3) == SV) { did -o ppgcountry 5 1 El Salvador | halt }
      if ($did(3) == SY) { did -o ppgcountry 5 1 Syria | halt }
      if ($did(3) == SZ) { did -o ppgcountry 5 1 Swaziland | halt }
      if ($did(3) == TC) { did -o ppgcountry 5 1 Turks and Caicos Islands | halt }
      if ($did(3) == TD) { did -o ppgcountry 5 1 Chad | halt }
      if ($did(3) == TF) { did -o ppgcountry 5 1 French Southern Territories | halt }
      if ($did(3) == TG) { did -o ppgcountry 5 1 Togo | halt }
      if ($did(3) == TH) { did -o ppgcountry 5 1 Thailand | halt }
      if ($did(3) == TJ) { did -o ppgcountry 5 1 Tajikistan | halt }
      if ($did(3) == TK) { did -o ppgcountry 5 1 Tokelau | halt }
      if ($did(3) == TM) { did -o ppgcountry 5 1 Turkmenistan | halt }
      if ($did(3) == TN) { did -o ppgcountry 5 1 Tunisia | halt }
      if ($did(3) == TO) { did -o ppgcountry 5 1 Tonga | halt }
      if ($did(3) == TP) { did -o ppgcountry 5 1 East Timor | halt }
      if ($did(3) == TR) { did -o ppgcountry 5 1 Turkey | halt }
      if ($did(3) == TT) { did -o ppgcountry 5 1 Trinidad and Tobago | halt }
      if ($did(3) == TV) { did -o ppgcountry 5 1 Tuvalu | halt }
      if ($did(3) == TW) { did -o ppgcountry 5 1 Taiwan | halt }
      if ($did(3) == TZ ) { did -o ppgcountry 5 1 Tanzania | halt }
      if ($did(3) == UA) { did -o ppgcountry 5 1 Ukraine | halt }
      if ($did(3) == UG) { did -o ppgcountry 5 1 Uganda | halt }
      if ($did(3) == UK) { did -o ppgcountry 5 1 United Kingdom | halt }
      if ($did(3) == UM) { did -o ppgcountry 5 1 US Minor Outlying Islands | halt }
      if ($did(3) == US) { did -o ppgcountry 5 1 United States | halt }
      if ($did(3) == UY) { did -o ppgcountry 5 1 Uruguay | halt }
      if ($did(3) == UZ) { did -o ppgcountry 5 1 Uzbekistan | halt }
      if ($did(3) == VA) { did -o ppgcountry 5 1 Vatican City State (Holy See) | halt }
      if ($did(3) == VC) { did -o ppgcountry 5 1 Saint Vincent and the Grenadines | halt }
      if ($did(3) == VE) { did -o ppgcountry 5 1 Venezuela | halt }
      if ($did(3) == VG) { did -o ppgcountry 5 1 Virgin Islands (British) | halt }
      if ($did(3) == VI) { did -o ppgcountry 5 1 Virgin Islands (U.S.) | halt }
      if ($did(3) == VN) { did -o ppgcountry 5 1 Viet Nam | halt }
      if ($did(3) == VU) { did -o ppgcountry 5 1 Vanuatu | halt }
      if ($did(3) == WF) { did -o ppgcountry 5 1 Wallis and Futuna Islands | halt }
      if ($did(3) == WS) { did -o ppgcountry 5 1 Samoa | halt }
      if ($did(3) == YE) { did -o ppgcountry 5 1 Yemen | halt }
      if ($did(3) == YT) { did -o ppgcountry 5 1 Mayotte | halt }
      if ($did(3) == YU) { did -o ppgcountry 5 1 Yugoslavia | halt }
      if ($did(3) == ZA) { did -o ppgcountry 5 1 South Africa | halt }
      if ($did(3) == ZM) { did -o ppgcountry 5 1 Zambia | halt }
      if ($did(3) == ZR) { did -o ppgcountry 5 1 Zaire | halt }
      if ($did(3) == ZW) { did -o ppgcountry 5 1 Zimbabwe | halt }
      if ($did(3) == COM) { did -o ppgcountry 5 1 US Commercial | halt }
      if ($did(3) == EDU) { did -o ppgcountry 5 1 US Educational | halt }
      if ($did(3) == GOV) { did -o ppgcountry 5 1 US Government | halt }
      if ($did(3) == INT) { did -o ppgcountry 5 1 International | halt }
      if ($did(3) == MIL) { did -o ppgcountry 5 1 US Military | halt }
      if ($did(3) == NET) { did -o ppgcountry 5 1 Network | halt }
      if ($did(3) == ORG) { did -o ppgcountry 5 1 Non-Profit Organization | halt }
      if ($did(3) == ARPA) { did -o ppgcountry 5 1 Old style Arpanet | halt }
      if ($did(3) == NATO) { did -o ppgcountry 5 1 Nato field | halt }
      else { did -o ppgcountry 5 1 Not in Co. Code Database | halt }
     }
   }
 }
menu channel,status,menubar {
  -
  Country Code Check:ppgcountrycode
  -
}