Found this....Think its skroolster who did the orginal but that version was a little bigger than this =))
Anyway...It removes those annoying away msg in the OPchat,,,
I hope there is no one like this out there...=]
OpChat = frmHub:GetOpChatName()
function DataArrival(curUser, sData)
if strsub(sData, 1, 4) == "$To:" then
_,_,whoto,whofrom,message = strfind(sData, "%$To:%s(%S+)%sFrom:%s(%S+)%s%$%b<>%s(.*)")
if whoto == OpChat then
if curUser.bOperator then
local _,_,isaway = strfind(message, ".*(%b<>)|$")
if isaway ~= nil then
return 1
end
end
end
end
end
*EDIT*
Did I tell u this.....
It works =]
Why dont they just use the "dont send away messages to bots" function in DC++ ? :rolleyes:
Yes...
Thanks for posting this script!
[NL]MrBuitenhuizen
it's not that annoying :]
no its very annoying
im going to use it.