Skip to content
SReject edited this page Jan 10, 2017 · 3 revisions

Overview

The following is a reference to all commands and identifiers provided by JSON For mIRC. To understand this documentation you must first understand the following:

Parameters

Most of the commands and identifiers require some form of input, that input is referred to as a parameter. All parameters in this documents begin with @ and are explained in the command or identifier's section that lists it.

Different commands or identifers may use the same name for a parameter but each parameter's meaning and requirements are unique to the command or identifier that specified it.

Command Switches

If the first parameter of a command begins with - it is a switch. Switches alter how the command processes the input or behaves after the input has been processed.

Unless otherwise stated all switches are optional and should only be used to enact the alternative processing.

Identifier Props/Properties

Similar to command switches, identifier properties alter how the inputs are processed or how the identifier behaves. Properties are appended to the identifer via prefixing the prop with ..

Reference

/JSONList

/JSONOpen -dbfuUw @Name @Input

/JSONHttpMethod @Name @Method

/JSONHttpHeader @Name @Header @Value

/JSONHttpFetch -bf @Name @data

$JSON(@Name|Ref|N)

$JSON(@Name|Ref|N, @Members...)

$JSON(@Name|Ref|N, @Members...) Fuzzy Prop Prefix

$JSON(@Name|Ref|N, @Members...) toBvar Prop suffix

$JSON(@Name|Ref|N, @File, @Members...) toFile Prop suffix

$JSON(@Name|Ref|N).State

$JSON(@Name|Ref|N).InputType

$JSON(@Name|Ref|N).Input

$JSON(@Name|Ref|N).IsChild

$JSON(@Name|Ref|N).Error

$JSON(@Name|Ref|N).HttpParse

$JSON(@Name|Ref|N).HttpStatus

$JSON(@Name|Ref|N).HttpStatusText

$JSON(@Name|Ref|N, @header).HttpHeader

$JSON(@Name|Ref|N).HttpHeaders

$JSON(@Name|Ref|N).HttpHead

$JSON(@Name|Ref|N).HttpBody

$JSON(@Name|Ref|N).HttpResponse

$JSON(@Name|Ref|N, @Members...).Path

$JSON(@Name|Ref|N, @Members...).Type

$JSON(@Name|Ref|N, @Members...).IsContainer

$JSON(@Name|Ref|N, @Members...).Length

$JSON(@Name|Ref|N, @Members...).Value

$JSON(@Name|Ref|N, @Members...).String

$JSON(@Name|Ref|N, @Members...).Debug

$JSONForEach(@Name|Ref|N, @Command, @ChildMembers...)

$JSONPath(@Path, @N)

$JSONError

/JSONClose -w @Name

/JSONShutDown

/JSONDebug @State

$JSONDebug

$JSONVersion(@Short)