Difference between revisions of "Echo"

From Scriptwiki
Jump to: navigation, search
(added see also)
Line 31: Line 31:
  
 
== See Also ==
 
== See Also ==
Take a look on [[Custom Windows]] to see how to print text to it.
+
* Take a look on [[How do I customize mIRC's own output|How do I customize mIRC's own output]] by using echo at category [[:Category:Tutorials|Tutorials]].
 +
* Take a look on [[Custom Windows]] to see how to print text to it.
 
[[Category:Commands]]
 
[[Category:Commands]]
 
  
 
{{Stub}}
 
{{Stub}}

Revision as of 16:09, 15 September 2005

Prints text in the specified window using the specified color.

/echo [color] [-cdeghiNtsaqlbfnmr] [color name] [#channel|[=]nick] <text>
SwitchMeaning
sIf a channel/nickname isn't specified, it echoes to the status window.
dIf a channel/nickname isn't specified, it echoes to the single message window.
aIf a channel/nickname isn't specified, it echoes to the active window.
eEncloses the line in the line spearators.
iNIndents the wrapped line by N characters.
hForces lines to hard-wrap so resizing the window doesn't change the line.
tPrefixes the line with a timestamp if global time stamping is on or timestamping is on for that window.
qMakes it not display the text if called from an alias using the . prefix.
lMakes it apply the highlight settings to the line that's displayed.
bfMake it apply the beep/flash settings in the window it is echoing to.
nPrevents the echo from hiliting the window switchbar icon.
mIndicates that the line should be treated as a user message, not an event.
gPrevents the line from being logged to the log file.
rApplies the strip settings in the messages dialog.
cUses the specified color name from the colors dialog.

Note that this text is only displayed in your own window and isn't sent to the server.

Example

/echo -a moo

This will print moo to the active window.

/echo -sb moo

This will print moo to the status window and applies the beep setting in the window.

/echo 0 -g #help.script moo

This will print moo to the #help.script channel window in white with preventing it from logging to the log file.

See Also