IF
  Global("agitem4s","LOCALS",0)
  Global("agitem4","GLOBAL",0)
  GlobalGT("endofbg1","GLOBAL",1)
THEN
  RESPONSE #100
    SetGlobal("agitem4s","LOCALS",1)
  RESPONSE #3
    SetGlobal("agitem4s","LOCALS",1)
    SetGlobal("agitem4","GLOBAL",1)
    GiveItemCreate("agboot24",Myself,0,0,0)
END
