The current plugin's IRCPluginState, via which to send messages to the server.
Raw IRC string to send to the server.
Custom message properties, such as Message.Property.quiet and Message.Property.forced.
String name of the calling function, or something else that gives context.
IRCPluginState state; state.mainThread = thisTid; immediate(state, "commands"); receive( (Message m) { with (m.event) { assert((type == IRCEvent.Type.UNSET), Enum!(IRCEvent.Type).toString(type)); assert((content == "commands"), content); assert(m.properties & Message.Property.immediate); } } );
Immediately sends text to the server, verbatim. Skips all queues.
This is used to send messages of types for which there exist no helper functions, and where they must be sent at once.