@Droidz do we have to replace the first line ?
lets say I want to use (shadow priest's) silence to interrupt any cast. 15487
silence, silence, path?(what path?), 1500(where it can attempt interrupt), 500(where the attempt ends?), tradeskill(what is this?), 15487(silence id), notInterruptible(then what), spellId = UnitCastingInfo("focus")
Silence, Silence, _, _, endTime = UnitCastingInfo"focus") if spell then local finish = endTimeMS/1000 - GetTime() print(spell .. ' will be finished casting in ' .. finish .. ' seconds.') end
if I add this as lua script is it going to work?