PtokaX forum

Lua 5.3/5.2/5.1 Scripts (for PtokaX 0.4.0.0 and newer) => Help with scripts => Topic started by: Yahoo on 11 July, 2008, 15:06:20

Title: IP specific SCRIPT
Post by: Yahoo on 11 July, 2008, 15:06:20
Hello Scripters
I will like to know  is it possible to create an ip specific script
means the script will only run on the specific ip given in script
if we can the ptokax ip the script wont run

Sorry For my bad english and poor explaination
Title: Re: IP specific SCRIPT
Post by: Yahoo on 12 July, 2008, 02:53:19
means there must be a option in the script to put the ptokax ip
and the script must run on tht specific ptokax ip only

if user changes the ptoakx ip and doesnt change the script ip
the script wont run

for eg
in the script the ip is 10.6.1.1 and the ptokax is having the ip
10.7.3.4 the script will run on 10.6.1.1 ip on ptokax
Title: Re: IP specific SCRIPT
Post by: Yahoo on 12 July, 2008, 12:21:32
no reason

was asking just for information

is it possible??
Title: Re: IP specific SCRIPT
Post by: Yahoo on 13 July, 2008, 07:48:04
the reason is

if by mistake i share my hub setup in the filelist then any1 can be able to use the scripts of my hub

so if i get a IP secific script and then i can compile the script and no1 can be able to use

the scripts of hub

Hope this reason satify you scripters