PLOP! NOONE told me that it wasnt working! >.<. !
here is the fix
Code:
void NPCsScripts::npc_1052017(NPC* npc){
int state = npc->getState();
if(state == 0){
npc->addText("Hello due to issues on Gogo's Maple Story I'm giving free Ilbi stars");
npc->addText("Do you want them?");
state = 1;
npc->sendYesNo();
}
else if(state == 1){
if(npc->getSelected() == YES){
npc->giveItem(2070006, 100);
npc->addText("Here you have, enjoy.");
npc->sendOK();
npc->end();}
else if (npc->getSelected() == NO){
npc->addText("Ok then, have a good day.");
npc->sendOK();
npc->end();
}
}
}