Pantho
Member
So, I really wanted a local monitor. So I poked code and cried in OOC all night till they helped me come up with this
Code was ripped from EveBot btw.
Change POSNAME to the name of your safe bookmark. I will make it beep later, just right now I cba.
Code was ripped from EveBot btw.
Code:
function main()
{
;dotnet LSMSound
variable set AllianceWhiteList
AllianceWhiteList:Add[222222]
AllianceWhiteList:Add[9111115]
AllianceWhiteList:Add[15711111145]
AllianceWhiteList:Add[11111111766]
variable iterator PilotIterator
variable int AllianceID
variable index:pilot PilotIndex
variable int IDontKnowAnotherWayToLoopThisSinceIRStupidAndDrinking
do
{
if ${EVE.LocalsCount} > 1
{
;echo "There are: " ${EVE.LocalsCount} " Pilots in this system"
PilotIndex:Clear
LocMon:Set[0]
EVE:DoGetPilots[PilotIndex]
}
PilotIndex:GetIterator[PilotIterator]
if ${PilotIterator:First(exists)}
do
{
;echo ${PilotIterator.Value.AllianceID} " Named: " ${PilotIterator.Value.Name}
if !${AllianceWhiteList.Contains[${PilotIterator.Value.AllianceID}]}
{
echo "Escaping due to pilot[ Name: " ${PilotIterator.Value.Name} " - AllianceID" ${PilotIterator.Value.AllianceID} " ] : Warping to bookmark - If this guy isn't evil add his alliance to the list!"
EVE.Bookmark[POSCHA]:WarpTo
; play "c:/alarm.wav"
}
}
while ${PilotIterator:Next(exists)}
wait 50
echo "Still safe"
}
while ${IDontKnowAnotherWayToLoopThisSinceIRStupidAndDrinking} < 1
}
Last edited: