PtokaX forum

Archive => Archived 4.0 boards => Finished Lua 4 scripts => Topic started by: lazyj189 on 12 November, 2003, 03:37:27

Title: Help with Robocop
Post by: lazyj189 on 12 November, 2003, 03:37:27
This line.  It works fine I would just like it to show the share size of the user that it kicked out in GB's.

thanks in advance.


   if (sYNFakeShare == "1") and checkFake(user)then
      WriteKickBan(date("%d").."/"..date("%m").."-"..date("%Y").." "..date("%T").." "..user.sName.." ("..user.sIP..") was banned - Reason: Fakeshare!")
      SendToOps(sBot,"Banned: <"..user.sName.."> because he's using a fakeshare! - IP: "..user.sIP)
      user:SendData(sBot, "You seem to be using a fakeshare client!")
      SendToNick(user.sName, "<" ..sBot.."> Disconnects...")
      user:Ban()
      user:NickBan()
      user:Disconnect()
   end
Title:
Post by: Optimus on 12 November, 2003, 09:56:26
if (sYNFakeShare == "1") and checkFake(user)then
WriteKickBan(date("%d").."/"..date("%m").."-"..date("%Y").." "..date("%T").." "..user.sName.." ("..user.sIP..") was banned - Reason: Fakeshare!")
SendToOps(sBot,"Banned: <"..user.sName.."> because he's using a fakeshare ("..badShare..") - IP: "..user.sIP)
user:SendData(sBot, "You seem to be using a fakeshare client!")
SendToNick(user.sName, "<" ..sBot.."> Disconnects...")
user:Ban()
user:NickBan()
user:Disconnect()
end

Hiya, try this ...
Title:
Post by: lazyj189 on 14 November, 2003, 04:42:51
well, that didnt quite work.  take 2