[FilterScript] [SQLite] Advanced IP Logger (dialogs + save up to 50 ips per user with next buttons)
#1

Greetings everyone, I'm a new scripter,,


Explanation
I've been scripting this system, and it's kinda good as it seems. When a user join with a certain IP twice, his ip log will update automatically (Date, Time, and If he logged in or not).. but if the same username joined the server with a different IP, this ip will be saved in his userlog.. so when you try the command on him, it will pop up a dialog with all of his IP's...

Here's a fast snap:





Commands
/iplog username (it will show you the ip log of a certain user)
/cleariplog username (it will erase the ip log of a certain user)



Notes
I've made a registeration system based on sqlite as well, just for testing.. you can remove it, and put the stocks, dialogs and the commands in your script..


The log can save up to 50 ip! Yes, there are next buttons! when there are more than 10 ips, you can swip to the next dialog, next ips.. (50 ips, 5 pages maximum) can be increased..


The log is constantly showed ACCORDING to unix timestamp (ordered descendingly, so the newest gets showed at first)


This is new.. it may have some bugs but I'd be glad if you appoint me to fix them


Download Link (V.2 - Recommended)
https://pastebin.com/zQN5c4ZV

V.2 Change Log:

Edited the next Buttons, it's now unlimited.. Thanks to oMa37 for telling me how to do it, optimizely!
Fixed the indentation, it's now pretty cool and looking much better, thanks to Jlalt indentation fixer!
Total IP's are now being showen when you try /iplog on any username, here is a small snap:



Download Link (V.1)
https://pastebin.com/tGum8Fkm


Credits: Zeex for zcmd include, maddinat0r for sscanf include, Omar & Metho for testing with me, and Jlalt for telling me to do this.
Reply


Messages In This Thread
[SQLite] Advanced IP Logger V.2 (dialogs + unlimited IP saving for users) - by OverflowJ - 17.09.2017, 12:27
Re: [SQLite] Advanced IP Logger (dialogs + save up to 50 ips per user with next buttons) - by Modather - 18.09.2017, 22:28
Re: [SQLite] Advanced IP Logger (dialogs + save up to 50 ips per user with next buttons) - by oMa37 - 19.09.2017, 04:35
Re: [SQLite] Advanced IP Logger (dialogs + save up to 50 ips per user with next buttons) - by DonaldDuck - 19.09.2017, 05:19
Re: [SQLite] Advanced IP Logger (dialogs + save up to 50 ips per user with next buttons) - by iLearner - 19.09.2017, 05:34
Re: [SQLite] Advanced IP Logger (dialogs + save up to 50 ips per user with next buttons) - by OverflowJ - 19.09.2017, 12:45
Re: [SQLite] Advanced IP Logger (dialogs + save up to 50 ips per user with next buttons) - by oMa37 - 19.09.2017, 13:09
Re: [SQLite] Advanced IP Logger (dialogs + save up to 50 ips per user with next buttons) - by OverflowJ - 19.09.2017, 13:12
Re: [SQLite] Advanced IP Logger (dialogs + save up to 50 ips per user with next buttons) - by oi2871999 - 19.09.2017, 13:12
Re: [SQLite] Advanced IP Logger (dialogs + save up to 50 ips per user with next buttons) - by OverflowJ - 19.09.2017, 15:03
Re: [SQLite] Advanced IP Logger (dialogs + save up to 50 ips per user with next buttons) - by Chaprnks - 20.09.2017, 00:59
Re: [SQLite] Advanced IP Logger (dialogs + save up to 50 ips per user with next buttons) - by OverflowJ - 20.09.2017, 15:22
Re: [SQLite] Advanced IP Logger (dialogs + save up to 50 ips per user with next buttons) - by GameOvr - 06.10.2018, 01:36
Re: [SQLite] Advanced IP Logger (dialogs + save up to 50 ips per user with next buttons) - by GameOvr - 07.10.2018, 18:39
Re: [SQLite] Advanced IP Logger (dialogs + save up to 50 ips per user with next buttons) - by TheToretto - 28.10.2018, 19:16

Forum Jump:


Users browsing this thread: 2 Guest(s)