Discussion in 'Script Releases' started by magictiger, Jun 25, 2009.

  1. magictiger

    magictiger Active Member

    Messages:
    10
    non-looping one-shot version
    Code (Text):

    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
    }
    }
     
  2. magictiger

    magictiger Active Member

    Messages:
    10
    Looping auto-invite hotness
    Code (Text):

    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
    }
    }
    }
     
  3. magictiger

    magictiger Active Member

    Messages:
    10

Share This Page