public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]){ switch(dialogid) { case CURSE_REALE: { //do what you want here return 1; } }return 1;}