|
|
#1 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Jul 2009
Location: Germany
Posts: 1,147
Reputation: 48
|
Hey guys,
as I've seen a few questions about it on the forum and also got some requests by friends about something like this, I decided to create a small function that allows you to check any text/string for an included IP. The include contains a simple "IsIp" function that behaves like a boolean. Here's an example how to use it: pawn Code:
I hope you guys like it! External download: My website or internal download: attached below Last edited by Sascha; 09/08/2011 at 09:02 AM. |
|
|
|
|
|
#2 |
|
Big Clucker
![]() ![]() Join Date: Sep 2009
Location: Melboure, Australia
Posts: 92
Reputation: 5
|
Nice idea
|
|
|
|
|
|
#3 | ||
|
Huge Clucker
![]() ![]() ![]() Join Date: Mar 2011
Location: Milan, Italy
Posts: 354
Reputation: 28
|
Prevent from writing in other way?
Es: Quote:
Quote:
|
||
|
|
|
|
|
#4 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Jul 2009
Location: Germany
Posts: 1,147
Reputation: 48
|
Nope, it doesn't prevent players from writing an IP with , : - or w/e... I'm gonna to add such a feature to it, later.
I'll also upload a pastebin
|
|
|
|
|
|
#5 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: May 2010
Location: Republic of Moldova
Posts: 1,159
Reputation: 50
|
Works nice for me, thanks.
|
|
|
|
|
|
#6 |
|
Godfather
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Feb 2010
Posts: 6,919
Reputation: 491
|
This is useless. People will always find a way to advertise on your server. Rather than relying on a faulty system, have a good admin team who knows how to operate. It helps to have anti-spam systems and stuff implemented as well; this way they cannot spam their server IP, website, or name before an admin can ban them.
|
|
|
|
|
|
#7 | |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Feb 2010
Location: That box in front of your house stealing your wifi.
Posts: 1,277
Reputation: 277
|
Quote:
Nice script m8 |
|
|
|
|
|
|
#8 | |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Jul 2009
Location: Germany
Posts: 1,147
Reputation: 48
|
Quote:
|
|
|
|
|
|
|
#9 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Dec 2009
Posts: 1,781
Reputation: 48
|
Good job
|
|
|
|
|
|
#10 | |
|
Godfather
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Feb 2010
Posts: 6,919
Reputation: 491
|
Quote:
You're spelling it wrong, it's advertising. It may be a function, but it's kind of a useless function IMHO. |
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|