on *:dialog:listmaster:sclick:*:{ if ($did == 100) { doe something | wait until time is reached | close dialog } }