https://github.com/EQEmu/Server/blob...rser.cpp#L1168
Code:
case EVENT_CAST_ON:
case EVENT_CAST:
case EVENT_CAST_BEGIN: {
ExportVar(package_name.c_str(), "spell_id", data);
break;
}
you can use $spell_id inside those events
Make sure to use 2 "==" when doing an if statement as well.