AcceptInvite

magictiger

Active Member
Code:
function main()
{
echo "Waiting for invite"
while !${Me.Fleet.IsMember[${Me.CharID}]}
{
if ${Me.Fleet.InvitationText.Find[Master Character]}
Me.Fleet:AcceptInvite
else 
{
Me.Fleet:RejectInvite
}
waitframe
}
echo "Fleet invite accepted"
}
This nice little script is designed to sit there and wait for a fleet invite to pop up. It will check to see if it comes from a specific master character and accept if it does, or reject if it does not. Be sure to change Master Character to your character's name.
I designed this so that you can add it to evebot\support\obj_LoginHandler.iss to let EVEBot fleet up. This version will terminate after it accepts the invite.


Note: If your master character name is in the normal text on the fleet invite window, this will accept ALL invites. This is your fault for doing something you shouldn't.
 
Last edited:

magictiger

Active Member
I know there was so much demand for the version that will stay running and watch for invites... this one will keep running and check to see if your leader has left the fleet. If they have, it drops fleet and waits for reinvite.

Code:
function main()
{
while 1
{
echo "Waiting for invite"
while !${Me.Fleet.IsMember[${Me.CharID}]}
{
if ${Me.Fleet.InvitationText.Find[Leader Character]}
Me.Fleet:AcceptInvite
else 
Me.Fleet:RejectInvite
}
if ${Me.Fleet.IsMember[${Me.CharID}]}
{
if !${Local[Leader Character].ToFleetMember(exists)}
Me.Fleet:LeaveFleet
}
}
}
 
Last edited:

alcor75

Well-Known Member
The recent changes to ISXEVE broke this script, here is a working version, feel free to correct them, since this is a "dirty but working" release with some fantasy workarounds and some spam removed.



Code:
function main()
{
Echo "Starting accept invite"
	while 1
	{
		if !${Me.Fleet.Invited} || ${Me.Fleet.Size}
		{
			if !${Local[nameofyourchar].ToFleetMember(exists)}
				Me.Fleet:LeaveFleet
		}
		if ${Me.Fleet.Invited}
		{
			echo "I'm been invited"
			if ${Me.Fleet.InvitationText.Find[nameofyourchar]}
			{
			echo "Accepting"
			wait 10
				Me.Fleet:AcceptInvite
			}			
			else
			{
			echo "Rejecting"
			wait 10
				Me.Fleet:RejectInvite
			}
			Wait 30
		}
	}
}

Alcor75
 
Last edited:
Top Bottom