void main()
{
object oPC = GetLastUsedBy();
object oMod = GetModule();
int oTicket = GetLocalInt(oPC, "has_ticket");
if (GetLocalInt(oMod, "mod_mode")==1)
{
PlaySound("sim_cntresist");
     FloatingTextStringOnCreature
    ("*** Nice Try ***", oPC);
    return;
}
if (oTicket==1)
   {
    SetLocalInt(oPC, "has_ticket", 0);
    CreateItemOnObject("sxillwa", oPC, 1);
    CreateItemOnObject("bzedyer", oPC, 1);
    CreateItemOnObject("trqcva", oPC, 1);
    CreateItemOnObject("fgnpde", oPC, 1);
    CreateItemOnObject("qxcove", oPC, 1);
    CreateItemOnObject("bsntfn", oPC, 1);
    CreateItemOnObject("ahuvpw", oPC, 1);
    CreateItemOnObject("arscod", oPC, 1);
    CreateItemOnObject("deitzy", oPC, 1);
    PlaySound("gui_select");
    PlaySound("sce_positive");
    FloatingTextStringOnCreature("** Tickets re-issued **", oPC);
   }
else
   {
    PlaySound("sim_cntresist");
    FloatingTextStringOnCreature("You already have your arena tickets", oPC);
   }
}