Actions
Rawx » History » Revision 5
« Previous |
Revision 5/11
(diff)
| Next »
Per Amundsen, 01/13/2015 12:43 AM
Added in 1.9.3
/rawx [-nq] <command>
Sends the specified command directly to the server. You must know the correct raw format of the command you are sending.
Same as /raw but evaluates a variable instead of text and allows sending consecutive spaces.
Switches
-n - TODO
-q - TODO
Parameters
<command> - The command to send to the server.
Example
;Create a variable with the text PRIVMSG #channel :a b
/var %var PRIVMSG #channel :a $+ $chr(32) $+ $chr(32) $+ $chr(32) $+ $chr(32) b
;Sends the output of %var to the server.
/rawx %var
;Add a on INPUT event that listens for /example command.
on *:INPUT:*:if ($1 == /example) {
;Put the consecutive spaced message into a variable
var %text PRIVMSG # : $+ $mid($msgx, 10, $len($msgx))
;Send the message
/rawx %text
}
Updated by Per Amundsen almost 11 years ago · 11 revisions