PtokaX forum

Archive => Archived 4.0 boards => Request for Lua 4 scripts => Topic started by: angelsanges on 07 March, 2004, 13:05:19

Title: [Killer 0.306e]
Post by: angelsanges on 07 March, 2004, 13:05:19
it is possible to make a bot that recognise in the description of user this: [Killer 0.306e] if this is recognised they will be disconnected on login?

this client [Killer 0.306e] limits the bandwith without any trace of that and CMD does not recognise it...and the tag is the same of dc++
Title:
Post by: plop on 07 March, 2004, 16:40:19
try this, and kick some1 you hate if it doesn't work. lol
Bot = "something_with_a_name"

function DataArrival(user, data)
   if strfind(user.sMyInfoString, "%[Killer 0.306e%]") then
      user:SendPM(Bot, "your client isn't allowed here!")
      user:Disconnect()
   end
end
plop
Title:
Post by: angelsanges on 07 March, 2004, 20:41:43
yeah!nice one...thank you plop!
Title:
Post by: plop on 08 March, 2004, 00:12:40
QuoteOriginally posted by angelsanges
yeah!nice one...thank you plop!
yw.

plop