IF
  Global("agitem1s","LOCALS",0)
  Global("agitem1","GLOBAL",0)
THEN
  RESPONSE #100
    SetGlobal("agitem1s","LOCALS",1)
  RESPONSE #5
    SetGlobal("agitem1s","LOCALS",1)
    SetGlobal("agitem1","GLOBAL",1)
    GiveItemCreate("agclck01",Myself,0,0,0)
END
