Inviter

magictiger

Active Member
non-looping one-shot version
Code:
function main()
{
variable int i
variable int buddycount
variable index:being buddylist
buddycount:Set[${EVE.GetBuddies[buddylist]}]

echo ${buddycount} Buddies, here we go!
for (i:Set[1] ; ${i}<=${buddycount} ; i:Inc)
{
echo Buddy ${i} : ${buddylist.Get[${i}].Name}
/* List out the people in your fleet here.
   Format:
   case Name Here
   if ${buddylist.Get[${i}].IsOnline} && !${Local[${buddylist.Get[${i}].Name}].ToFleetMember(exists)}
   buddylist[${i}]:InviteToFleet
   break
*/
switch ${buddylist.Get[${i}].Name}
{
 case Hey Buddy
 if ${buddylist.Get[${i}].IsOnline} && !${Local[${buddylist.Get[${i}].Name}].ToFleetMember(exists)}
 buddylist[${i}]:InviteToFleet
 break
 case Bob Moron
 if ${buddylist.Get[${i}].IsOnline} && !${Local[${buddylist.Get[${i}].Name}].ToFleetMember(exists)}
 buddylist[${i}]:InviteToFleet
 break
 case Test Character
 if ${buddylist.Get[${i}].IsOnline} && !${Local[${buddylist.Get[${i}].Name}].ToFleetMember(exists)}
 buddylist[${i}]:InviteToFleet
 break
}
wait 30
}
}
 

magictiger

Active Member
Looping auto-invite hotness
Code:
function main()
{
variable int i
variable int buddycount
variable index:being buddylist
buddycount:Set[${EVE.GetBuddies[buddylist]}]

echo ${buddycount} Buddies, here we go!
while 1
{
for (i:Set[1] ; ${i}<=${buddycount} ; i:Inc)
{
echo Buddy ${i} : ${buddylist.Get[${i}].Name}
/* List out the people in your fleet here.
   Format:
   case Name Here
   if ${buddylist.Get[${i}].IsOnline} && !${Local[${buddylist.Get[${i}].Name}].ToFleetMember

(exists)}
   buddylist[${i}]:InviteToFleet
   break
*/
switch ${buddylist.Get[${i}].Name}
{
 case Hey Buddy
 if ${buddylist.Get[${i}].IsOnline} && !${Local[${buddylist.Get[${i}].Name}].ToFleetMember(exists)}
 buddylist[${i}]:InviteToFleet
 break
 case Bob Moron
 if ${buddylist.Get[${i}].IsOnline} && !${Local[${buddylist.Get[${i}].Name}].ToFleetMember(exists)}
 buddylist[${i}]:InviteToFleet
 break
 case Test Character
 if ${buddylist.Get[${i}].IsOnline} && !${Local[${buddylist.Get[${i}].Name}].ToFleetMember(exists)}
 buddylist[${i}]:InviteToFleet
 break
}
wait 30
}
}
}
 
Top Bottom