Skip to main content

marks.protocol

marks.protocol displays the marks obtained by the caller, visualised through their protocol grid.

Security Level​

HIGHSEC

Syntax​

CLI​

marks.protocol

Script​

#hs.marks.protocol()

Parameters​

pos (optional)​

The 'pos' argument allows users to provide a co-ordinate as a 2-item array [x,y]. If a mark is lit at this co-ordinate, the mark name and the date it was earned will be displayed.

Return​

Returns a string.

CLI​

>>marks.protocol

-- initiate protocol certification mark display --

012345678

0 █████████
1 █████████
2 █████████
3 █████████
4 █████████

Completed marks are lit with the color Q; incomplete marks use the color b

>>marks.protocol {pos:[0,0]}

012345678

0 o████████
1 █████████
2 █████████
3 █████████
4 █████████

mark: scratch
earned_at: YYMMDD

Script​

Same as CLI.

Example​

function(context, args)
{
return #hs.marks.protocol({ pos:[2,4] })
}