I see your using the qst format...
http://www.everquestserver.com/forum...pic.php?t=5719 is still the best referance as far as I know. I do not see a setguild command listed.
Hmm surch turns up
http://www.everquestserver.com/forum...pic.php?t=8653 but I'm not sure what was ever actually put in. Glancing thru parser.cpp for 5.3 dr2 It looks like several of the commands that were discussed on the boards didn't make it in the code, or got lost. setguild seems to be one of them, although it looks like at least killspree had code with it in there.
Oh and the qst format does not use
; I also prefer $itemcount, since it dosen't chare what slot the item gets put in
Code:
EVENT_ITEM{
if($itemcount("6") == 1)
setguild("6","5")
castspell("$userid","4498")}
}