Trouble with /tool sms inbox find

Hi at all,
Before i’m soryy for my english.

I tried to make a script for find a text in the /tool sms inbox, but the command FIND not work correctly.

This is an example :

I sended two sms :
before with the text hi and phone number source 111111111
after with the text yes and phone number source 222222222

The code

: global test ;
: set test [/tool sms inbox get [/tool sms inbox find text=yes ] src ] ;
: put $test :

on the terminal i see the source number of previus message “111111111”

is this a bug or is my error in the script ?
Thank you

Bye

Ok the new version worked.

Bye

Cris

Hi

What was the result, I would like to see your script as I am battling with the same.

Thanks