Jump to content

? servers

? players online

Advertisement / Link remover

Recommended Posts


  • Content Count:  1534
  • Joined:  07/27/09
  • Status:  Offline

This plugin removes any links contained in a players name, if their name is only a link it's changed to "NoName"

 

Example:

CSSKINS.NET xDWeon MordecaixD

Upon joining changed to:

xDWeon MordecaixD

 

https://forums.alliedmods.net/showthread.php?t=295634

 

Uses regex to match the link as follows:

Any letter or number (excluding spaces) + dot (.) + any suffix (length 2 to 5 characters)

([-a-zA-Z0-9]*(([.])([a-zA-Z]){2,5}))

  • Like 23
Edited by Wesker

Reply to Thread

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...