If I put one non-number word on the clipboard (ex. "he", "winds"), then condition 2 is called (?)
get the clipboard as text --
set _selection to result
-- Identify which word's the number.
set numberWordNumber to 1
repeat with thisWord in _selection's words
if (thisWord is in "363534332313029282726252422120191817161514110") then exit repeat
set numberWordNumber to numberWordNumber + 1
end repeat
-- Act accordingly.
if (numberWordNumber is 1) then
-- The first word's the number.
say "word one is the number" using "Bruce"
else if (numberWordNumber is 2) then
-- The second word's the number.
say "word two is the number" using "Victoria"
else if (numberWordNumber is 3) then
-- The third word's the number.
say "word three is the number" using "Alex"
set word1 to word 1 of _selection
if (word1 is in "I II III") then set the clipboard to ((count word1) as text) & space & text from word 2 to -1 of _selection
else -- (numberWordNumber > 3).
error say "None of the first three words of the selection is a number."
end if