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; raw(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.init); } } );
Sends text to the server, verbatim.
This is used to send messages of types for which there exist no helper functions.