[Client Scripting] What's the command line to send a pm instead of a channel message?

Discussion in 'Server and Client Scripting' started by Sailor Mars, Jun 2, 2018.

  1. Sailor Mars

    Sailor Mars "The Bird of Hermes is my name..."

    Joined:
    Jul 30, 2014
    Messages:
    8
    Likes Received:
    0
    PO Trainer Name:
    Sailor Mars + others
    As opposed to pulling one of these maneuvers:
    client.network().sendChanMessage(channel, "message here")

    I imagine something along the lines of:
    client.network().sendPrivateMessage([user], "message here") but I'm not sure.

    Just wanted to get some input before I start experimenting and wreck my bot again. Per usual.
     
  2. Yttrium

    Yttrium Well-Known Member Developer Developer

    Joined:
    Sep 29, 2010
    Messages:
    619
    Likes Received:
    283
    PO Trainer Name:
    Yttrium
    You're looking for client.network().sendPM