PtokaX forum

Archive => Archived 4.0 boards => Help with Lua 4 scripts => Topic started by: NemeziS on 27 March, 2005, 19:31:02

Title: Little Problm...
Post by: NemeziS on 27 March, 2005, 19:31:02
Hi, great scripters!

I'm writing a little script which will send messages to users, whose ips in a table.

My table looks like this:
arrAnn = {
["NoShare"] = {
["USERIPS"] = {
["10.26.96.75"] = 1,
["10.5.8.36"] = 1,
["10.64.2.19"] = 1,
["10.5.3.33"] = 1,
["10.5.8.14"] = 1,
["10.0.175.60"] = 1,
["192.168.14.179"] = 1,
["192.168.5.19"] = 1,
["192.168.12.132"] = 1,
["10.0.29.42"] = 1,
["10.0.29.11"] = 1,
["10.1.1.82"] = 1,
["10.16.96.33"] = 1,
["10.25.96.33"] = 1,
},
},
["LittleShare"] = {
["USERIPS"] = {
["192.168.0.153"] = 1,
},
},
}

I want every user, who has 0 Gb share (NoShare) get a message on Timer (30 min)

Best regards,
NemeziS