Skip to toolbar

Reply To: Multiple Tokens

Welcome Forums Get help Multiple Tokens Reply To: Multiple Tokens

#1307
mystify
Participant

Oh my word.
That was the hardest thing to figure out!
But I think I got it.

if hero lacks token “Pen”
<indent>hero says “I don’t have both”
else
<indent>if hero lacks token “Sword”
<indent><indent>hero says “I don’t have both”
<indent>else
<indent><indent>hero says “I have both”

This way-
Hero has neither = I don’t have both
Hero has Sword = I don’t have both
Hero has Pen = I don’t have both
Hero has Sword and Pen = I have both

Geez… that was hard. Now let’s see if I can get a third item needed in there… (-_-)

0