01.04.2010, 20:38
well i had thought of some idea like an /unban [IP] command but i seem not to get the part with removeing the ban ex : i cant find how to get a specified line , the the ban.txt looks like this :
( i do not have the script but while im first planning what to do i got to this thread )
now idk how to remove 1 of them example the player does this :
/unban 127.0.0.1
It checks the text file for "127.0.0.1 //" and removes that line . also this time im working on a Temporary Ban...but that looks even harder , cause the format is like : "%d|%d|%d|%d" ...any help?
Код:
127.0.0.1 // Reason : ... 444.444.444.444 // reason : ...
now idk how to remove 1 of them example the player does this :
/unban 127.0.0.1
It checks the text file for "127.0.0.1 //" and removes that line . also this time im working on a Temporary Ban...but that looks even harder , cause the format is like : "%d|%d|%d|%d" ...any help?