Re: [Unreal-users] ACTION
Status: Beta
Brought to you by:
wildchild
From: tabris <ta...@ta...> - 2007-03-07 23:01:01
|
DSL wrote: > Hello, > > Can anyone help me? I am wondering what character is before the ACTION > on a PRIVMSG? > > Looks like: > :name!name@10.10.10.10 <mailto:name%21name@10.10.10.10> PRIVMSG #room > : ACTION something > > I am getting invalid character when parsing the data. > > Error: > > The char '0x1' after '' is not a valid XML character of course not. why should it be? it is however a valid character for certain purposes. Basically IRC has used \001 for CTCPs, like this (variants exist) :src PRIVMSG dest :\001TOKEN payload1 payload2\001 a CTCP reply replaces PRIVMSG with NOTICE IRC clients use \002 for a colour prefix, like this: \002<fg>,<bg> There is also underline and reverse, but I don't remember what those codes are. and don't try to parse IRC with XML parsers... it's nothing similar. |