To create new wiki account, please join us on #znc at Libera.Chat and ask admins to create a wiki account for you. You can say thanks to spambots for this inconvenience.

Send raw: Difference between revisions

From ZNC
Jump to navigation Jump to search
>Un1matr1x
mNo edit summary
>Dgw
The command syntax changed quite a bit. Also make it very clear that this is an admin-only module, and that "other users" means other users on the ZNC server
 
Line 2: Line 2:
{{Core Module | version = 1.0}}
{{Core Module | version = 1.0}}


This module allows you to send raw traffic to IRC from other users.
This module allows a ''ZNC admin'' to send raw traffic to IRC from ''other ZNC users''.


== Usage ==
== Usage ==
Line 11: Line 11:


=== Commands ===
=== Commands ===
The following command joins the user which is named 'Eve' to #znc.
In the following commands, the admin user running send_raw joins the ZNC user named 'Eve' to #znc on the network named 'freenode', sends a message to #znc as her, invites the nick 'Adam' to #znc as her, and quits her from the server, and then uses the ZNC user psychon to grant Adam +o channel mode in #znc.
  /msg *send_raw Eve JOIN #znc
  /msg *send_raw Server Eve freenode JOIN #znc
  /msg *send_raw Eve PRIVMSG #znc :I'm using znc!
  /msg *send_raw Server Eve freenode PRIVMSG #znc :I'm using znc!
  /msg *send_raw Eve QUIT Jumping.Server!
  /msg *send_raw Server Eve freenode INVITE Adam #znc
  /msg *send_raw Eve INVITE Adam #znc
  /msg *send_raw Server Eve freenode QUIT Jumping.Server!
  /msg *send_raw psychon MODE #znc +o Adam
  /msg *send_raw Server psychon freenode MODE #znc +o Adam


Please note that this module expects a '''raw''' line. This means that all client aliases and client commands '''DO NOT''' work (e.g. /msg is in reality PRIVMSG).
Please note that this module expects a '''raw''' line. This means that all client aliases and client commands '''DO NOT''' work (e.g. /msg is in reality PRIVMSG).


For other RAW commands, visit [http://www.irchelp.org/irchelp/rfc/rfc.html irchelp]
For other RAW commands, visit [http://www.irchelp.org/irchelp/rfc/rfc.html irchelp]

Latest revision as of 10:36, 22 August 2013


This module allows a ZNC admin to send raw traffic to IRC from other ZNC users.

Usage

Arguments

This user module takes no arguments.

Read loading modules to learn more about loading modules.

Commands

In the following commands, the admin user running send_raw joins the ZNC user named 'Eve' to #znc on the network named 'freenode', sends a message to #znc as her, invites the nick 'Adam' to #znc as her, and quits her from the server, and then uses the ZNC user psychon to grant Adam +o channel mode in #znc.

/msg *send_raw Server Eve freenode JOIN #znc
/msg *send_raw Server Eve freenode PRIVMSG #znc :I'm using znc!
/msg *send_raw Server Eve freenode INVITE Adam #znc
/msg *send_raw Server Eve freenode QUIT Jumping.Server!
/msg *send_raw Server psychon freenode MODE #znc +o Adam

Please note that this module expects a raw line. This means that all client aliases and client commands DO NOT work (e.g. /msg is in reality PRIVMSG).

For other RAW commands, visit irchelp