---
layout: doc
title: general / send_zmp
---
# send_zmp

### NAME

    send_zmp() - send a ZMP command to the current user

### SYNOPSIS

    void send_zmp( string command, string array arguments );

### DESCRIPTION

    Sends a ZMP command to the current command giver over telnet.  command
    is sent as the ZMP command name.  Each string element in arguments is
    sent as a ZMP argument.  Non-string elements in arguments are ignored by
    the driver.

    This efun should only be called when there is an interactive command
    giver.  If it is called without one, the driver writes a warning to debug
    output and otherwise has no effect.

    Incoming ZMP commands are delivered by calling zmp_command(string,
    string array) on the interactive object.

### SEE ALSO

    has_zmp(3)
