--UserInfo Bot By Phatty --V1.05, not complete --Few things by Guibs function Main() mcmd = "!" frmHub:RegBot("G€KKÕ™") end function DataArrival(ustring,dstring) if strsub(dstring, 1, 1) == "<" then dstring=strsub(dstring,1,strlen(dstring)-1) local s,e,cmd = strfind(dstring,"%b<>%s+(%S+)") if cmd == mcmd.."userinfo" then if user.bOperator then s,e,arg = strfind(dstring,"%b<>%s+%S+%s+(%S+)") if arg ~= nil then local nick = GetItemByName(arg) if nick ~= nil then UserInfo(ustring,nick) else ustring:SendData(Kos,"Either User is a bot or does not exist") end else ustring:SendData(Kos,"Missing parameter....") end return 1 end end end end function UserInfo(ustring, nick) local tmp = "\r\n\r\n" tmp = tmp.."\tUser Name: "..nick.sName.."\r\n" tmp = tmp.."\tUsers IP: "..nick.sIP.."\r\n" if strfind(nick.sMyInfoString," 4 then limiter = limiter / 1024 end end tmp = tmp.."\tUpload limited: "..limiter.." Kb/s\r\n" end _,b, limited = strfind(nick.sMyInfoString,"D:(%x+)") if limited ~= nil then tmp = tmp.."\tDownload limited: "..dlimiter.." Kb/s\r\n\r\n" end local hostname = tohostname(nick.sIP) _,b, hoster = strfind(hostname,"bt") if hoster ~= nil then tmp = tmp.."\tUser ISP: "..hoster.." Kb/s\r\n" end if strfind(hostname,".fr") then crm = "France" elseif strfind(hostname,".lv") then crm = "Latvia" elseif strfind(hostname,".uk") then crm = "UK" elseif strfind(hostname,".de") then crm = "Germany" elseif strfind(hostname,".nl") then crm = "Holland" elseif strfind(hostname,".es") then crm = "Spain" elseif strfind(hostname,".hu") then crm = "Hungarian" elseif strfind(hostname,".ct") then crm = "Catalan" elseif strfind(hostname,".no") then crm = "Norway" elseif strfind(hostname,".dk") then crm = "Denmark" elseif strfind(hostname,".se") then crm = "Sweden" elseif strfind(hostname,".it") then crm = "Italy" elseif strfind(hostname,".jp") then crm = "Japan" elseif strfind(hostname,".sg") then crm = "Singapore" elseif strfind(hostname,".ca") then crm = "Canada" else crm = "Worldwide" end tmp = tmp.."\tCountry: "..crm.."\r\n" ustring:SendPM(Bot,tmp) end