// This agent will ping-pong back and forth internally with its variables. // Variables are set by shelling out back to glop from within a script that is // executed by glop. when (message init) { var set ping true; } when (ping == true) #!/bin/bash echo ping export GLOP_SCRIPT_ADDR glop var set ping false glop var set pong true !# when (pong == true) #!/bin/bash echo pong export GLOP_SCRIPT_ADDR glop var set ping true glop var set pong false !#