     arr = user.name.split(' ')
     if arr.length <= 1 then user.name else arr[0] + arr[1].substr(0, 1)
 
-main()+do main
        comment = args[2]
        if !currentCase then return error('no taken case')
        cid = currentCase
    fb.log(cid, comment)

# utils
isfn = (x) -> typeof x == 'function'

        comment = args[2]
        if !currentCase then return error('no taken case')
        cid = currentCase
    fb.resolve cid, comment

assign = (args) ->
    cid = parseInt(args[2])
    if isNaN cid then return error('expected case number')
    fb.assign args[2], args[3], args[4]

log = (args) ->
    cid = parseInt(args[2], 10)
