1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Plugin/Argument

Discussion in 'T&T - Plugins' started by nchernoff, Jun 6, 2008.

  1. nchernoff

    nchernoff Administrator
    Staff Member

    Joined:
    May 16, 2008
    Messages:
    42
    Likes Received:
    2
    Plugin/Argument

    So what does the plugin COMMAND see if the user issues:
    Code:
    COMMAND_NAME<space><space><space>parameter
    Answer:

    Code:
    COMMAND_NAME<space><space><space>parameter
    In most cases it will therefore be nessesary to trim spaces from string. In Ada the TakeCmd.Strings.To_Ada function will do that for you - if you like.

    What does a plugin function see if the user issues:

    Code:
    @FUNCTION_NAME[<space><space>parameter<space><space>]
    Answer:

    Code:
    @FUNCTION_NAME[<space><space>parameter<space><space>]
     

Share This Page