Difference between revisions of "User:Kebap/Manual:send"

From Mudlet
Jump to navigation Jump to search
(Created page with ";send(command, showOnScreen) :This sends "command" directly to the network layer, skipping the alias matching. The optional second argument of type boolean (print) determines...")
 
m
 
Line 1: Line 1:
 +
==send==
 
;send(command, showOnScreen)
 
;send(command, showOnScreen)
 
:This sends "command" directly to the network layer, skipping the alias matching. The optional second argument of type boolean (print) determines if the outgoing command is to be echoed on the screen.
 
:This sends "command" directly to the network layer, skipping the alias matching. The optional second argument of type boolean (print) determines if the outgoing command is to be echoed on the screen.

Latest revision as of 19:13, 5 June 2018

send

send(command, showOnScreen)
This sends "command" directly to the network layer, skipping the alias matching. The optional second argument of type boolean (print) determines if the outgoing command is to be echoed on the screen.

See also: sendAll()

Note Note: If you want your command to be checked as if it's an alias, use expandAlias() instead - send() will ignore them.

send( "Hello Jane" ) --echos the command on the screen
send( "Hello Jane", true ) --echos the command on the screen
send( "Hello Jane", false ) --does not echo the command on the screen

-- use a variable in the send:
send("kick "..target)