the sockclose event will not recognize any channel dude...
msg $chan
i didnt understand why dont u put the channel on sockmark
then you can use this on sockclose to recognize the channel
the return will be this
[22:20:12] <~Dean> http://www.youtube.com/watch?v=TRE6smcyDF4&feature=feedrec_grec_index
[22:20:17] <&Botname> [YouTube] "Simunition: US Military Using New Simulation Round" - Viewed: 21196x - User: MilitaryNewsNetwork - Rating: 0% - Positive: 18 pessoa(s) gosta(m), 2 Negative: