actualy they are both doing the same and i suggest you to use the first one because there is no use in an "if"....heres a trigger
Untitled Trigger 001
Events
Unit - A unit Finishes an upgrade
Conditions
(Researched tech-type) Equal to (whatever upgrade you want)
Actions
-------- Whatever you please! --------
EDIT:
Sorry a better cleaner way is
Untitled Trigger 001
Events
Unit - A unit Finishes an upgrade
Conditions
Actions
If ((Researched tech-type) Equal to Iron Forged Swords) then do (-------- Whatever pleases you --------) else do (Do nothing)
Very well, thank you.just to clear it for you when you upgrade a unit it stays the same specific unit and only changes it's type of unit