in my network you can connect via webchat too
example:
testone!6275b11f@webchat.net has joined
user ident 6275b11f is a hexadecimal notation:
Code: Select all
0x62=98, 0x75=117, 0xB1=177, 0x1F=31
is it possible to write a tcl that does this conversion?
like:
Code: Select all
=> testtwo!xxx@abcdef.com has joined
<me> !hex_to_dec testtwo
<bot> testtwo is not using a webchat
=> testone!6275b11f@webchat.net has joined
<me> !hex_to_dec testone
<bot> testone real ip is: 0x62=98, 0x75=117, 0xB1=177, 0x1F=31 --> 98.117.177.31
webchat.net and chatweb.com ---> yes, convert
all other domains ---> no conversion