;;;;;;;;;;;;;;;;;;;;;;;;;
[@NPCScript]
{
#IF
#SAY
<[ Whats on this Easter? ]/@WhatsOn>\
<[ Purchase Draw Ticket with Letters ]/@PurchaseTicket>\
<[ Use Letters ]/@SpellItOut>\
<[ Exchange EasterRoseToken ]/@ExchangeRose>\\

#IF
ISADMIN
#SAY
Give Letters\
<[ A ]/@GetLetter(Letter(A))>, 
<[ B ]/@GetLetter(Letter(B))>, 
<[ C ]/@GetLetter(Letter(C))>, 
<[ D ]/@GetLetter(Letter(D))>, 
<[ E ]/@GetLetter(Letter(E))>, 
<[ F ]/@GetLetter(Letter(F))>\
<[ G ]/@GetLetter(Letter(G))>, 
<[ H ]/@GetLetter(Letter(H))>, 
<[ I ]/@GetLetter(Letter(I))>, 
<[ J ]/@GetLetter(Letter(J))>, 
<[ K ]/@GetLetter(Letter(K))>, 
<[ L ]/@GetLetter(Letter(L))>\
<[ M ]/@GetLetter(Letter(M))>, 
<[ N ]/@GetLetter(Letter(N))>, 
<[ O ]/@GetLetter(Letter(O))>, 
<[ P ]/@GetLetter(Letter(P))>, 
<[ Q ]/@GetLetter(Letter(Q))>, 
<[ R ]/@GetLetter(Letter(R))>\
<[ S ]/@GetLetter(Letter(S))>, 
<[ T ]/@GetLetter(Letter(T))>, 
<[ U ]/@GetLetter(Letter(U))>, 
<[ V ]/@GetLetter(Letter(V))>, 
<[ W ]/@GetLetter(Letter(W))>, 
<[ X ]/@GetLetter(Letter(X))>\
<[ Y ]/@GetLetter(Letter(Y))>, 
<[ Z ]/@GetLetter(Letter(Z))>\
<[ Back ]/@NPCScript>\\\

[@ExchangeRose]
#IF
CheckItem EasterRoseToken 1
#ACT
Take EasterRoseToken 1
Give AssasinRevival 1
#SAY
The AssasinRevival is yours!\\
<[ Back ]/@NPCScript>\\\
#ELSESAY
You do not have an EasterRoseToken\
<[ Back ]/@NPCScript>\\\



[@GetLetter()]
#ACT
Mov A0 %ARG(1)
Give %A0 1

[@WhatsOn]
#SAY
{FCOLOR/12}Welcome to the {FCOLOR/13}Easter Event{FCOLOR/12}\
There are a some exciting things going on\\
So.. what can you do?\\\
Firstly... kill those {FCOLOR/13}EasterHens!!{FCOLOR/12}\
The top 3 players with the most Hen kills get\
some {FCOLOR/1}VERY {FCOLOR/12}Nice Prizes\\
Hens also drop some nice items, including\
{FCOLOR/10}EasterBasket{FCOLOR/12} (Lots of Random Prizes)\
{FCOLOR/10}GoldenEasterEgg{FCOLOR/12} (Lots more prizes)\
{FCOLOR/10}BrokenEasterEgg{FCOLOR/12} (Stat Boost)\
{FCOLOR/10}RainbowEasterEgg{FCOLOR/12} (Higher Stat Boost)\
{FCOLOR/10}EasterEgg{FCOLOR/12} (Different sizes of Instant XP)\
{FCOLOR/10}Letter (A to Z){FCOLOR/12} - See Below\\
So, what do I do with Letters?\\
Letters can be used for either an entry\
in the prize draw \
(you can enter as many times as you like!)\
Or can you spell something for a prize!\\
<[ Back ]/@NPCScript>\\\

[@PurchaseTicket]
#IF
#SAY
Which letter would you like to use?\\
<[ A ]/@SellLetter(Letter(A))>, 
<[ B ]/@SellLetter(Letter(B))>, 
<[ C ]/@SellLetter(Letter(C))>\
<[ D ]/@SellLetter(Letter(D))>, 
<[ E ]/@SellLetter(Letter(E))>, 
<[ F ]/@SellLetter(Letter(F))>\
<[ G ]/@SellLetter(Letter(G))>, 
<[ H ]/@SellLetter(Letter(H))>, 
<[ I ]/@SellLetter(Letter(I))>\
<[ J ]/@SellLetter(Letter(J))>, 
<[ K ]/@SellLetter(Letter(K))>, 
<[ L ]/@SellLetter(Letter(L))>\
<[ M ]/@SellLetter(Letter(M))>, 
<[ N ]/@SellLetter(Letter(N))>, 
<[ O ]/@SellLetter(Letter(O))>\
<[ P ]/@SellLetter(Letter(P))>, 
<[ Q ]/@SellLetter(Letter(Q))>, 
<[ R ]/@SellLetter(Letter(R))>\
<[ S ]/@SellLetter(Letter(S))>, 
<[ T ]/@SellLetter(Letter(T))>, 
<[ U ]/@SellLetter(Letter(U))>\
<[ V ]/@SellLetter(Letter(V))>, 
<[ W ]/@SellLetter(Letter(W))>, 
<[ X ]/@SellLetter(Letter(X))>\
<[ Y ]/@SellLetter(Letter(Y))>, 
<[ Z ]/@SellLetter(Letter(Z))>\
<[ SELL ALL LETTERS ]/@SellAllLetters> - This will sell 1 of each>\
<[ Back ]/@NPCScript>\\\

[@SellAllLetters]
#IF
#ACT
Mov D0 0

#IF
CheckItem Letter(A) 1
#ACT
Inc D0 1
Take Letter(A) 1

#IF
CheckItem Letter(B) 1
#ACT
Inc D0 1
Take Letter(B) 1

#IF
CheckItem Letter(C) 1
#ACT
Inc D0 1
Take Letter(C) 1

#IF
CheckItem Letter(D) 1
#ACT
Inc D0 1
Take Letter(D) 1

#IF
CheckItem Letter(E) 1
#ACT
Inc D0 1
Take Letter(E) 1

#IF
CheckItem Letter(F) 1
#ACT
Inc D0 1
Take Letter(F) 1

#IF
CheckItem Letter(G) 1
#ACT
Inc D0 1
Take Letter(G) 1

#IF
CheckItem Letter(H) 1
#ACT
Inc D0 1
Take Letter(H) 1

#IF
CheckItem Letter(I) 1
#ACT
Inc D0 1
Take Letter(I) 1

#IF
CheckItem Letter(J) 1
#ACT
Inc D0 1
Take Letter(J) 1

#IF
CheckItem Letter(K) 1
#ACT
Inc D0 1
Take Letter(K) 1

#IF
CheckItem Letter(L) 1
#ACT
Inc D0 1
Take Letter(L) 1

#IF
CheckItem Letter(M) 1
#ACT
Inc D0 1
Take Letter(M) 1

#IF
CheckItem Letter(N) 1
#ACT
Inc D0 1
Take Letter(N) 1

#IF
CheckItem Letter(O) 1
#ACT
Inc D0 1
Take Letter(O) 1

#IF
CheckItem Letter(P) 1
#ACT
Inc D0 1
Take Letter(P) 1

#IF
CheckItem Letter(Q) 1
#ACT
Inc D0 1
Take Letter(Q) 1

#IF
CheckItem Letter(R) 1
#ACT
Inc D0 1
Take Letter(R) 1

#IF
CheckItem Letter(S) 1
#ACT
Inc D0 1
Take Letter(S) 1

#IF
CheckItem Letter(T) 1
#ACT
Inc D0 1
Take Letter(T) 1

#IF
CheckItem Letter(U) 1
#ACT
Inc D0 1
Take Letter(U) 1

#IF
CheckItem Letter(V) 1
#ACT
Inc D0 1
Take Letter(V) 1

#IF
CheckItem Letter(W) 1
#ACT
Inc D0 1
Take Letter(W) 1

#IF
CheckItem Letter(X) 1
#ACT
Inc D0 1
Take Letter(X) 1

#IF
CheckItem Letter(Y) 1
#ACT
Inc D0 1
Take Letter(Y) 1

#IF
CheckItem Letter(Z) 1
#ACT
Inc D0 1
Take Letter(Z) 1

#IF
Large D0 0
#ACT
Mov A1 %USERNAME
Mov A7 ""
Mov A7 %A1
AddStr A7 ","
AddStr A7 %D0
Savelog "QuestDiary\EventSystem\Easter2013\Tickets.txt" %A7
#SAY
<$OUTPUT(D0)> Letters Taken\
<$OUTPUT(D0)> Tickets Purchased\\
<[ Back ]/@NPCScript>\\\
#ELSESAY
You don't have any Letters!\
<[ Back ]/@NPCScript>\\\



[@SellLetter()]
#ACT
Mov A0 %ARG(1)
#SAY
How many <$OUTPUT(A0)> would you like to sell?\\
<[ 1 ]/@SellLetter1(1)>, 
<[ 2 ]/@SellLetter1(2)>, 
<[ 3 ]/@SellLetter1(3)>, 
<[ 4 ]/@SellLetter1(4)>, 
<[ 5 ]/@SellLetter1(5)>, \
<[ 6 ]/@SellLetter1(6)>, 
<[ 7 ]/@SellLetter1(7)>, 
<[ 8 ]/@SellLetter1(8)>, 
<[ 9 ]/@SellLetter1(9)>, 
<[ 10 ]/@SellLetter1(10)>, \\
<[ Back ]/@NPCScript>\\\

[@SellLetter1()]
#ACT
Mov D0 %ARG(1)
#IF
CheckItem %A0 %D0
#ACT
Take %A0 %D0
Mov A1 %USERNAME
Mov A7 ""
Mov A7 %A1
AddStr A7 ","
AddStr A7 %D0
Savelog "QuestDiary\EventSystem\Easter2013\Tickets.txt" %A7
#SAY
<$OUTPUT(D0)> <$OUTPUT(A0)> Taken\
<$OUTPUT(D0)> Tickets Purchased\\
<[ Back ]/@NPCScript>\\\
#ELSESAY
You don't have that many!\\
<[ Back ]/@NPCScript>\\\

[@SpellItOut]
#IF
#SAY
What do you fancy?\\
<[ B O A R K I N G ]/@SPELLPETBoarKing> - 6 Hours\
<[ M I N O K I N G ]/@SPELLPETMinotaurKing> - 6 Hours\
<[ D E A D S O U L ]/@SPELLPETDeadSoul> - 6 Hours\
<[ B O N E L O R D ]/@SPELLPETBoneLord> - 6 Hours\
<[ G A M B L E A R M O U R ]/@GiveAwayStingArmourM> (MALE)\
<[ G A M B L E A R M O U R ]/@GiveAwayStingArmourF> (FEMALE)\
<[ S T I N G B R A C E L E T ]/@GiveAwayStingBracelet>\
<[ S T I N G R I N G ]/@GiveAwayStingRing>\
<[ S T I N G N E C K L A C E ]/@GiveAwayStingNecklace>\
<[ L O T S O F I N T E G R A L ]/@GiveAwayIntegral> (500 Integral)\
<[ T H A N K S L I Q U O R ]/@GiveAwayTYL>\
<[ B I G W E A P O N ]/@GiveAwayWeapon> (Gamble Weapon)\\\\


[@SPELLPETBoarKing]
#IF
CheckItem Letter(B) 1
CheckItem Letter(O) 1
CheckItem Letter(A) 1
CheckItem Letter(R) 1
CheckItem Letter(K) 1
CheckItem Letter(I) 1
CheckItem Letter(N) 1
CheckItem Letter(G) 1
#ACT
Take Letter(B) 1
Take Letter(O) 1
Take Letter(A) 1
Take Letter(R) 1
Take Letter(K) 1
Take Letter(I) 1
Take Letter(N) 1
Take Letter(G) 1
MonRecall BoarKing 6 1 
#SAY
There you go :)\
<[ Back ]/@NPCScript>\\\

[@SPELLPETMinotaurKing]
#IF
CheckItem Letter(M) 1
CheckItem Letter(I) 2
CheckItem Letter(N) 2
CheckItem Letter(O) 1
CheckItem Letter(K) 1
CheckItem Letter(G) 1
#ACT
Take Letter(M) 1
Take Letter(I) 2
Take Letter(N) 2
Take Letter(O) 1
Take Letter(K) 1
Take Letter(G) 1
MonRecall MinotaurKing 6 1 
#SAY
There you go :)\
<[ Back ]/@NPCScript>\\\


[@SPELLPETDeadSoul]
#IF
CheckItem Letter(D) 2
CheckItem Letter(E) 1
CheckItem Letter(A) 1
CheckItem Letter(S) 1
CheckItem Letter(O) 1
CheckItem Letter(U) 1
CheckItem Letter(L) 1
#ACT
Take Letter(D) 2
Take Letter(E) 1
Take Letter(A) 1
Take Letter(S) 1
Take Letter(O) 1
Take Letter(U) 1
Take Letter(L) 1
MonRecall DeadSoul 6 1 
#SAY
There you go :)\
<[ Back ]/@NPCScript>\\\

[@SPELLPETBoneLord]
#IF
CheckItem Letter(B) 1
CheckItem Letter(O) 2
CheckItem Letter(N) 1
CheckItem Letter(E) 1
CheckItem Letter(L) 1
CheckItem Letter(R) 1
CheckItem Letter(D) 1
#ACT
Take Letter(B) 1
Take Letter(O) 2
Take Letter(N) 1
Take Letter(E) 1
Take Letter(L) 1
Take Letter(R) 1
Take Letter(D) 1
MonRecall BoneLord1 6 1 
#SAY
There you go :)\
<[ Back ]/@NPCScript>\\\

[@GiveAwayStingArmourM]
#IF
CheckItem Letter(G) 1
CheckItem Letter(A) 2
CheckItem Letter(M) 2
CheckItem Letter(B) 1
CheckItem Letter(L) 1
CheckItem Letter(E) 1
CheckItem Letter(R) 2
CheckItem Letter(O) 1
CheckItem Letter(U) 1
#ACT
Take Letter(G) 1
Take Letter(A) 2
Take Letter(M) 2
Take Letter(B) 1
Take Letter(L) 1
Take Letter(E) 1
Take Letter(R) 2
Take Letter(O) 1
Take Letter(U) 1
Give StingsGambleArmour(Gamble)(M) 1 
#SAY
There you go :)\
<[ Back ]/@NPCScript>\\\

[@GiveAwayStingArmourF]
#IF
CheckItem Letter(G) 1
CheckItem Letter(A) 2
CheckItem Letter(M) 2
CheckItem Letter(B) 1
CheckItem Letter(L) 1
CheckItem Letter(E) 1
CheckItem Letter(R) 2
CheckItem Letter(O) 1
CheckItem Letter(U) 1
#ACT
Take Letter(G) 1
Take Letter(A) 2
Take Letter(M) 2
Take Letter(B) 1
Take Letter(L) 1
Take Letter(E) 1
Take Letter(R) 2
Take Letter(O) 1
Take Letter(U) 1
Give StingsGambleArmour(Gamble)(F) 1 
#SAY
There you go :)\
<[ Back ]/@NPCScript>\\\

[@GiveAwayStingBracelet]
#IF
CheckItem Letter(S) 1
CheckItem Letter(T) 2
CheckItem Letter(I) 1
CheckItem Letter(N) 1
CheckItem Letter(G) 1
CheckItem Letter(B) 1
CheckItem Letter(R) 1
CheckItem Letter(A) 1
CheckItem Letter(C) 1
CheckItem Letter(E) 2
CheckItem Letter(L) 1
#ACT
Take Letter(S) 1
Take Letter(T) 2
Take Letter(I) 1
Take Letter(N) 1
Take Letter(G) 1
Take Letter(B) 1
Take Letter(R) 1
Take Letter(A) 1
Take Letter(C) 1
Take Letter(E) 2
Take Letter(L) 1
Give StingBracelet(God) 1 
#SAY
There you go :)\
<[ Back ]/@NPCScript>\\\


[@GiveAwayStingRing]
#IF
CheckItem Letter(S) 1
CheckItem Letter(T) 1
CheckItem Letter(I) 2
CheckItem Letter(N) 2
CheckItem Letter(G) 2
CheckItem Letter(R) 1
#ACT
Take Letter(S) 1
Take Letter(T) 1
Take Letter(I) 2
Take Letter(N) 2
Take Letter(G) 2
Take Letter(R) 1
Give StingRing(God) 1 
#SAY
There you go :)\
<[ Back ]/@NPCScript>\\\

[@GiveAwayStingNecklace]
#IF
CheckItem Letter(S) 1
CheckItem Letter(T) 1
CheckItem Letter(I) 1
CheckItem Letter(N) 2
CheckItem Letter(G) 1
CheckItem Letter(E) 2
CheckItem Letter(C) 2
CheckItem Letter(K) 1
CheckItem Letter(L) 1
CheckItem Letter(A) 1
#ACT
Take Letter(S) 1
Take Letter(T) 1
Take Letter(I) 1
Take Letter(N) 2
Take Letter(G) 1
Take Letter(E) 2
Take Letter(C) 2
Take Letter(K) 1
Take Letter(L) 1
Take Letter(A) 1
Give StingNecklace(God) 1 
#SAY
There you go :)\
<[ Back ]/@NPCScript>\\\

[@GiveAwayIntegral]
#IF
CheckItem Letter(L) 2
CheckItem Letter(O) 2
CheckItem Letter(T) 2
CheckItem Letter(S) 1
CheckItem Letter(F) 1
CheckItem Letter(I) 1
CheckItem Letter(N) 1
CheckItem Letter(E) 1
CheckItem Letter(G) 1
CheckItem Letter(R) 1
CheckItem Letter(A) 1
#ACT
Take Letter(L) 2
Take Letter(O) 2
Take Letter(T) 2
Take Letter(S) 1
Take Letter(F) 1
Take Letter(I) 1
Take Letter(N) 1
Take Letter(E) 1
Take Letter(G) 1
Take Letter(R) 1
Take Letter(A) 1
Give Integral(500) 1 
#SAY
There you go :)\
<[ Back ]/@NPCScript>\\\

[@GiveAwayTYL]
#IF
CheckItem Letter(T) 1
CheckItem Letter(H) 1
CheckItem Letter(A) 1
CheckItem Letter(N) 1
CheckItem Letter(K) 1
CheckItem Letter(S) 1
CheckItem Letter(L) 1
CheckItem Letter(I) 1
CheckItem Letter(Q) 1
CheckItem Letter(O) 1
CheckItem Letter(U) 1
CheckItem Letter(R) 1
#ACT
Take Letter(T) 1
Take Letter(H) 1
Take Letter(A) 1
Take Letter(N) 1
Take Letter(K) 1
Take Letter(S) 1
Take Letter(L) 1
Take Letter(I) 1
Take Letter(Q) 1
Take Letter(O) 1
Take Letter(U) 1
Take Letter(R) 1
Give ThanksLiquor(S) 1 
#SAY
There you go :)\
<[ Back ]/@NPCScript>\\\

[@GiveAwayWeapon]
#IF
CheckItem Letter(B) 1
CheckItem Letter(I) 1
CheckItem Letter(G) 1
CheckItem Letter(W) 1
CheckItem Letter(E) 1
CheckItem Letter(A) 1
CheckItem Letter(P) 1
CheckItem Letter(O) 1
CheckItem Letter(N) 1
#ACT
Take Letter(B) 1
Take Letter(I) 1
Take Letter(G) 1
Take Letter(W) 1
Take Letter(E) 1
Take Letter(A) 1
Take Letter(P) 1
Take Letter(O) 1
Take Letter(N) 1
Give StingsEdgeShadeDemon(Gamble) 1 
#SAY
There you go :)\
<[ Back ]/@NPCScript>\\\

}