Home API Manuals About Forum
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

InParty

Check if the characters in the party

If char disconnected or not in party will return False, otherwise True.

Pascal

function InParty : Boolean;

Python

def InParty() -> boolean

Example Python

from py_stealth import *

if not InParty():
    AddToSystemJournal('not in paty')
    # find blue char
    SetFindVertical(10)
    SetFindDistance(5)
    Ignore(Self())
    FindNotoriety(-1, 1)
    for i in GetFoundList():
        print(f'try add to paty {GetName(i)}')
        InviteToParty(i)
        Wait(250)