NET GAME EXISTS This command will return a value of one if the net game exists, otherwise zero is returned.
Syntax
    Return Integer=NET GAME EXISTS()
Returns
This command will return a value of one if the net game exists
Example Code
    rem Set Network Session (Game On Selected Network Connection)

    perform checklist for net sessions

    cls

    print "SESSIONS (Found on the Selected Connection)"

    for c=1 to checklist quantity()

    print c;". ";checklist string$(c)

    next c

    SessionIndex=0

    if checklist quantity()<>0

    while SessionIndex<1 or SessionIndex>checklist quantity()

    print  : input "Select A Number>";SessionIndex

    endwhile

    endif

    rem Create or Join a game

    if SessionIndex=0

    PlayerMax=4 : KindOfGame=1

    create net game "gamename", "playername", 4,1

    else

    join net game SessionIndex, "playername"

    endif

    rem Was game created successfully

    if net game exists()=1

    print : print "GAME SESSION STARTED"

    else

    print "COULD NOT CREATE A SESSION"

    endif
See also
MULTIPLAYER Commands Menu Index