PtokaX forum

Development Section => Your Developing Problems => Topic started by: NightLitch on 26 October, 2003, 19:30:21

Title: Limit to ONE...
Post by: NightLitch on 26 October, 2003, 19:30:21
How do I solve this:

for vRANGE,vNETWORK in GIPRange do
local _,_,range1,range2 = strfind(vRANGE, "(%S+)-(%S+)")
range1 = ComputeIP(range1)
range2 = ComputeIP(range2)
if uIP>=range1 and uIP<=range2 or uIP == srange then
curUser:SendData("$To: "..curUser.sName.." From: "..Bot.." $*** Find IP/Range Info:");
curUser:SendData("$To: "..curUser.sName.." From: "..Bot.." $*** IP: "..searchip.." is Found in Network: "..vNETWORK);
curUser:SendData("$To: "..curUser.sName.." From: "..Bot.." $*** Range "..vRANGE.." \t Network: "..vNETWORK);
end
end

I get it to Send me alot of text... just want it to send one line... The Range I search for...
Title:
Post by: NightLitch on 26 October, 2003, 19:31:00
plz help me out...

I want to be able to search in my ranges...

someone have something.....
Title:
Post by: NightLitch on 26 October, 2003, 19:34:34
What if I do it like this...

local Check = ""

and then:

If Check = 1 of it's right and Check = "" of its wrong???
Title:
Post by: klownietklowniet on 26 October, 2003, 21:28:26
Must be in a loop.. too much missing for me to help you... what is 'srange' f.ex.?
Title:
Post by: NightLitch on 26 October, 2003, 22:27:11
I solved it myself...

Delete This Thread....