If/then conditions in Javascript

Yeah, try as I might my scripting sux.
Can someone please tell me how to script a command that works as follows:
If a field, say "weapon.Text" is not blank , then "equipped. Text"="Weapon.Text."
I've looked through several other character sheets and found many similar examples to reverse engineer, but to no avail.
Thanks so much in advance!

Leave a Comment