So i'm pretty sure that elvarg is similar to ruse so you might have a class called DialogueOptions.java ? Pretty much when the dialogue opens you would set something like player.setDialogueActionId(id) and for the id normally you would use the id of the dialogue that you created. So if your dialogue is number 101 then you would do player.setDialogueActionId(101). Then in DialogueOptions you have stuff like FIRST_OPTION_OF_FIVE, SECOND_OPTION_OF_FIVE etc and in your case you have four options so you would look for FIRST_OPTION_OF_FOUR or something close to that and just input your code there like
Code:
case 101:
code here;
break;