MoparClassic/GameServer/scripts/802 - Event Master.bsh

21 lines
420 B
Plaintext
Raw Normal View History

/**
* Event Master Npc
* Trade 7 tokens for gift box
* @Author Ollie
*/
NpcTalk("Would you like to trade 7 event tokens for a gift box?");
option = PickOption("Yes", "No");
if(option == 1) {
if(HasItem(1324, 7)) {
RemoveItem(1324, 7);
SendMessage("You trade 7 event tokens for a gift box");
AddItem(1321, 1);
}
else {
NpcTalk("You do not have enough tokens.");
}
}
else {
}