I guess you have been passing the wrong struct to ShowScript function, use this instead : (as you can see here)
clif->ShowScript(&(*sd)->bl, "your message", AREA);
About deleting that conditional... You shouldn't do it if the original function is not gonna be executed ever, not sure about this specific case, and keep in note that when using preHook your function is gonna be executed first.