public OnDialogResponse(....){ switch( dialogid ) { case CURSE_REALE: { } } return 0; // change this to 1 if its in your GM}