|
@@ 230-236 (lines=7) @@
|
| 227 |
|
case 35: // Insurance payment |
| 228 |
|
$msg = "skip"; |
| 229 |
|
break; |
| 230 |
|
case 41: // System lost |
| 231 |
|
$solarSystemID = trim(explode(": ", $notificationString[2])[1]); |
| 232 |
|
$systemName = apiCharacterName($solarSystemID); |
| 233 |
|
$allianceID = trim(explode(": ", $notificationString[0])[1]); |
| 234 |
|
$allianceName = apiCharacterName($allianceID); |
| 235 |
|
$msg = "{$allianceName} has lost control of **{$systemName}**"; |
| 236 |
|
break; |
| 237 |
|
case 43: // System captured |
| 238 |
|
$solarSystemID = trim(explode(": ", $notificationString[2])[1]); |
| 239 |
|
$systemName = apiCharacterName($solarSystemID); |
|
@@ 237-243 (lines=7) @@
|
| 234 |
|
$allianceName = apiCharacterName($allianceID); |
| 235 |
|
$msg = "{$allianceName} has lost control of **{$systemName}**"; |
| 236 |
|
break; |
| 237 |
|
case 43: // System captured |
| 238 |
|
$solarSystemID = trim(explode(": ", $notificationString[2])[1]); |
| 239 |
|
$systemName = apiCharacterName($solarSystemID); |
| 240 |
|
$allianceID = trim(explode(": ", $notificationString[0])[1]); |
| 241 |
|
$allianceName = apiCharacterName($allianceID); |
| 242 |
|
$msg = "{$allianceName} now controls **{$systemName}**"; |
| 243 |
|
break; |
| 244 |
|
case 52: // clone revoked |
| 245 |
|
$msg = "skip"; |
| 246 |
|
break; |
|
@@ 345-351 (lines=7) @@
|
| 342 |
|
case 141: // Kill report |
| 343 |
|
$msg = "skip"; |
| 344 |
|
break; |
| 345 |
|
case 147: // Entosis has started |
| 346 |
|
$solarSystemID = trim(explode(": ", $notificationString[0])[1]); |
| 347 |
|
$systemName = apiCharacterName($solarSystemID); |
| 348 |
|
$typeID = trim(explode(": ", $notificationString[1])[1]); |
| 349 |
|
$typeName = apiTypeName($typeID); |
| 350 |
|
$msg = "Entosis has started in **{$systemName}** on **{$typeName}** (Date: **{$sentDate}**)"; |
| 351 |
|
break; |
| 352 |
|
case 148: // Entosis enabled a module ?????? |
| 353 |
|
$solarSystemID = trim(explode(": ", $notificationString[0])[1]); |
| 354 |
|
$systemName = apiCharacterName($solarSystemID); |
|
@@ 352-358 (lines=7) @@
|
| 349 |
|
$typeName = apiTypeName($typeID); |
| 350 |
|
$msg = "Entosis has started in **{$systemName}** on **{$typeName}** (Date: **{$sentDate}**)"; |
| 351 |
|
break; |
| 352 |
|
case 148: // Entosis enabled a module ?????? |
| 353 |
|
$solarSystemID = trim(explode(": ", $notificationString[0])[1]); |
| 354 |
|
$systemName = apiCharacterName($solarSystemID); |
| 355 |
|
$typeID = trim(explode(": ", $notificationString[1])[1]); |
| 356 |
|
$typeName = apiTypeName($typeID); |
| 357 |
|
$msg = "Entosis has enabled a module in **{$systemName}** on **{$typeName}** (Date: **{$sentDate}**)"; |
| 358 |
|
break; |
| 359 |
|
case 149: // Entosis disabled a module |
| 360 |
|
$solarSystemID = trim(explode(": ", $notificationString[0])[1]); |
| 361 |
|
$systemName = apiCharacterName($solarSystemID); |
|
@@ 359-365 (lines=7) @@
|
| 356 |
|
$typeName = apiTypeName($typeID); |
| 357 |
|
$msg = "Entosis has enabled a module in **{$systemName}** on **{$typeName}** (Date: **{$sentDate}**)"; |
| 358 |
|
break; |
| 359 |
|
case 149: // Entosis disabled a module |
| 360 |
|
$solarSystemID = trim(explode(": ", $notificationString[0])[1]); |
| 361 |
|
$systemName = apiCharacterName($solarSystemID); |
| 362 |
|
$typeID = trim(explode(": ", $notificationString[1])[1]); |
| 363 |
|
$typeName = apiTypeName($typeID); |
| 364 |
|
$msg = "Entosis has disabled a module in **{$systemName}** on **{$typeName}** (Date: **{$sentDate}**)"; |
| 365 |
|
break; |
| 366 |
|
case 160: // Entosis successful |
| 367 |
|
$solarSystemID = trim(explode(": ", $notificationString[2])[1]); |
| 368 |
|
$systemName = apiCharacterName($solarSystemID); |
|
@@ 386-391 (lines=6) @@
|
| 383 |
|
$systemName = apiCharacterName($solarSystemID); |
| 384 |
|
$msg = "Station in **{$systemName}** has now entered freeport mode."; |
| 385 |
|
break; |
| 386 |
|
case 182: // Citadel being anchored |
| 387 |
|
$corpName = trim(explode(": ", $notificationString[1])[1]); |
| 388 |
|
$solarSystemID = trim(explode(": ", $notificationString[2])[1]); |
| 389 |
|
$systemName = apiCharacterName($solarSystemID); |
| 390 |
|
$msg = "Citadel owned by **{$corpName}** is being anchored in **{$systemName}**."; |
| 391 |
|
break; |
| 392 |
|
case 184: // Citadel under attack |
| 393 |
|
$aggID = trim(explode(": ", $notificationString[7])[1]); |
| 394 |
|
$aggCharacterName = apiCharacterName($aggID); |
|
@@ 408-414 (lines=7) @@
|
| 405 |
|
$systemName = apiCharacterName($solarSystemID); |
| 406 |
|
$msg = "Citadel now online in **{$systemName}**."; |
| 407 |
|
break; |
| 408 |
|
case 188: // Citadel destroyed |
| 409 |
|
$corpID = trim(explode("- ", $notificationString[3])[1]); |
| 410 |
|
$corpName = apiCharacterName($corpID); |
| 411 |
|
$solarSystemID = trim(explode(": ", $notificationString[5])[1]); |
| 412 |
|
$systemName = apiCharacterName($solarSystemID); |
| 413 |
|
$msg = "Citadel owned by **{$corpName}** in **{$systemName}** has been destroyed."; |
| 414 |
|
break; |
| 415 |
|
case 199: // citadel delivery |
| 416 |
|
$msg = "skip"; |
| 417 |
|
break; |