Delay command execution in X-ChatDistributed Systems with Node.js, O'Reilly 2020, has been published!
Use the following command to delay execution of a command in X-Chat:
/timer seconds command without slash
It is useful when you need to get opped by the chanserv but X-Chat executes the command before it has authenticated itself with nickserv:
/timer 10 cs op #example username
I’m not sure if this is X-Chat specific, an IRC Client standard, or an IRC server command, but hey it works for X-Chat.