All pastes #966381 Raw Edit

Something

public text v1 · immutable
·published 2008-04-01 18:23 UTC
rendered paste body
[13:21] <Pixelz> ;c2a
[13:21] <SafeTcl> Pixelz: #1173 Tcl error: invalid command name "c2a"
[13:21] <Pixelz> ;info procs *2*
[13:21] <SafeTcl> Pixelz: #1174 Tcl: string2list ip2hex u2c u2x decimal2ip text2hex ip2decimal c2u tabs2spaces round2 hex2ip unhtml2
[13:21] <Pixelz> ;info body c2u
[13:21] <SafeTcl> Pixelz: #1175 Tcl:  format %c $c 
[13:21] <BL4DE> why would i help anyone who promotes killing me ?
[13:22] <CrazyPale> I`m not asking u to help me 
[13:22] <Pixelz> meh, don't remember the syntax for converting ascii to hex
[13:22] <BL4DE> i see myself as part of "anyone"
[13:22] <Pixelz> ;info body text2hex
[13:22] <SafeTcl> Pixelz: #1180 Tcl: 	set hex {}
[13:22] <SafeTcl> Pixelz: #1180 Tcl: 				foreach c [split $text {}] { append hex "\\x[format %x [scan $c %c]]" }
[13:22] <SafeTcl> Pixelz: #1180 Tcl: 				return $hex
[13:22] <SafeTcl> Pixelz: #1180 Tcl: 			
[13:22] <Mookie> Thats my code!
[13:22] <Pixelz> ;text2hex ʞɔnɟ
[13:22] <SafeTcl> Pixelz: #1182 Tcl: \x9e\x54\x6e\x5f
[13:23] <Pixelz> ;subst \x9e\x54\x6e\x5f
[13:23] <SafeTcl> Pixelz: #1183 Tcl: žTn_