#!/bin/sh

IFS='
'

for line in $(/usr/bin/figlet "$@") ; do
    echo "i$line"  # This is itemtype=i + text
done