yours work on both because it does not deal with chat COMMANDS all it is is an on text event and then describing to a channel so of course if it works in the first place it'll work on chatspace and ircd. my snippet deals with a chat command that ircd doesnt use therefore no it won't work and its not meant to work on ircd only chatspace