From WikiChip
/parseline Command - mIRC
< mirc‎ | commands
Revision as of 18:41, 19 January 2016 by Ouims (talk | contribs) (Created page with "{{mirc title|/parseline Command}}{{mIRC menu}} The '''/parseline command''' can be used to inject raw as though mIRC was receiving or sending them from/to the server. It can a...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:mIRC menu The /parseline command can be used to inject raw as though mIRC was receiving or sending them from/to the server. It can also be used to modify the line being received/sent from the on parseline event.

Synopsis

/parseline -iotbpnuN [text|&binvar]

/parseline -q[iotbqpnuN] [text|&binvar]


Switches

Required

  • -i or -o - Required, specify an input or output message
  • -t or -b - Required, specify a text or binvar parameter

Optional

  • -q - Can be used to add a new line to the end of the in/out queue, they are processed after the end of the script execution.
    • Note: Without -q, you're changing the current line from the on parseline event, you'll get an error otherwise.
  • -p - Used with -q, indicate the line must trigger on parseline
  • -n - Add a $crlf to the end of the lien if the line doesn't already end with a $crlf
  • -uN - Enable/Disable utf8 encoding/decoding of the line. Use N = 1 to enable, 0 to disable
    • Note: A script must check $parseutf to know whether mIRC will be UTF-8 encoding/decoding a line.
    • For outgoing lines, if $parseutf is $true, mIRC will UTF-8 encode the line before sending it to the server after the PARSELINE event. You can prevent this by using -u0.
    • For incoming lines, if $parseutf is $true, after the PARSELINE event, mIRC will UTF-8 decode the line before processing it. You can prevent this by using -u0.

Parameters

  • [text|&binvar] - The text or binvar parameter depending on if you used the -t or -b switch

Example

//parseline -qitn bipartite.nj.us.SwiftIRC.net PRIVMSG #mIRCScripting :test

Compatibility

Added: mIRC v7.42
Added on: 17 Jul 2015
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See also


v · d · e mIRC commands list

A /abook, /action, /add, /ajinvite, /alias, /aline, /ame, /amsg, /anick, /aop, /auser, /auto, /autojoin, /avoice, /away

B /background, /ban, /bcopy, /beep, /bindip, /bread, /break, /breplace, /bset, /btrunc, /bunset, /bwrite

C /channel, /clear, /clearall, /clearial, /cline, /clipboard, /close, /closechats, /closedccs, /closefserves, /closemsg, /cnick, /color, /colour, /comclose, /comlist, /commands, /comopen, /comreg, /continue, /copy, /creq, /ctcp, /ctcpreply, /ctcps

D /dcc, /dccserver, /dde, /ddeserver, /debug, /dec, /describe, /dialog, /did, /didtok, /disable, /disconnect, /dlevel, /dline, /dll, Template:mIRC/donotdisturb, /dns, /dqwindow, /drawcopy, /drawdot, /drawfill, /drawline, /drawpic, /drawrect, /drawreplace, /drawrot, /drawsave, /drawscroll, /drawsize /drawtext

E /ebeeps, /echo, /editbox, /else, /elseif, /emailaddr, /enable, /events, /exit

F /fclose, /filter, /findtext, /finger, /firewall, /flash, /flist, /flood, /flush, /flushini, /fnord, /font, /fopen, /fseek, /fsend, /fserve, /fullname, /fupdate, /fwrite

G /ghide, /gload, /gmove, /gopts, /goto, /gplay, /gpoint, /gqreq, /groups, /gshow, /gsize, /gstop, /gtalk, /gunload, /guser

H /hadd, /halt, /haltdef, /hdec, /hdel, /help, /hfree, /hinc, /hload, /hmake, /hotlink, /hop, /hsave

I /ial, /ialclear, /ialmark, /identd, /if, /ignore, /iline, /inc, /iuser

J /join

L /leave, /linesep, /links, /list, /load, /loadbuf, /localinfo, /log, /logview

M /maxdepth, /mdi, /me, /menubar, /mkdir, /mnick, /mode, /msg

N /noop, /notice, /notify

O /onotice, /omsg

P /pareline, /part, /partall, /pdcc, /perform, /play, /playctrl, /pop, /protect, /proxy, /pvoice

Q /qme, /qmsg, /query, /queryrn, /quit, /quote

R /raw, /registration, /reload, /remini, /remote, /remove, /rename, /renwin, /reseterror, /resetidle, /return, /returnex, /rlevel, /rline, /rmdir, /run, /ruser

S /save, /savebuf, /saveini, /say, /scid, /scon, /server, /set, /setlayer, /showmirc, /signal, /sline, /sockaccept, /sockclose, /socklist, /socklisten, /sockmark, /sockopen, /sockpause, /sockread, /sockrename, /sockudp, /sockwrite, /sound, /speak, /splay, /sreq, /strip, /switchbar

T /timer, /timestamp, /tip, /tips, /titlebar, /tnick, /tokenize, /toolbar, /topic /tray, /treebar

U /ulist, /unload, /unset, /unsetall, /updatenl, /url, /username, /uwho

V /var, /vcadd, /vcmd, /vcrem, /vol

W

X /xyzzy