JonasA1988 Posted August 19, 2010 Author Share Posted August 19, 2010 This is my first script and works goodThis script makes unwanted names to another name like "Bad guy"This is a easy script and hope someone enyoy itPaste this in ModDatabase in Server VBP'This Script is for Player who Choose Unwanted Names If Player(Index).Name = ("Paste the unwanted names here") Then Player(Index).Name = "Bad guy" If Player(Index).Name = ("Paste the unwanted names here") Then Player(Index).Name = "Bad guy" If Player(Index).Name = ("Paste the unwanted names here") Then Player(Index).Name = "Bad guy" If Player(Index).Name = ("Paste the unwanted names here") Then Player(Index).Name = "Bad guy" If Player(Index).Name = ("Paste the unwanted names here") Then Player(Index).Name = "Bad guy" If Player(Index).Name = ("Paste the unwanted names here") Then Player(Index).Name = "Bad guy" If Player(Index).Name = ("Paste the unwanted names here") Then Player(Index).Name = "Bad guy" If Player(Index).Name = ("Paste the unwanted names here") Then Player(Index).Name = "Bad guy" If Player(Index).Name = ("Paste the unwanted names here") Then Player(Index).Name = "Bad guy" If Player(Index).Name = ("Paste the unwanted names here") Then Player(Index).Name = "Bad guy" If Player(Index).Name = ("Paste the unwanted names here") Then Player(Index).Name = "bad guy" If Player(Index).Name = ("Paste the unwanted names here") Then Player(Index).Name = "Bad guy" If Player(Index).Name = ("Paste the unwanted names here") Then Player(Index).Name = "Bad guy" If Player(Index).Name = ("Paste the unwanted names here") Then Player(Index).Name = "Bad guy"End Sub Link to comment Share on other sites More sharing options...
JonasA1988 Posted August 19, 2010 Author Share Posted August 19, 2010 My bad, it should be in "client vbp" and not the server vbp.. good luck! Link to comment Share on other sites More sharing options...
deathtaker26 Posted September 16, 2010 Share Posted September 16, 2010 why not just add```If GetPlayerName(index) = "abadname" thenCall PlayerMsg(index, "som users may find your name offensive so it has been change", BRIGHTRED)Call setplayername(index, "anotsobadname") end if```to the server or the joingame.ess Link to comment Share on other sites More sharing options...
yaratemaster Posted September 16, 2010 Share Posted September 16, 2010 Maybe making a name filter would be a great option for this script? Link to comment Share on other sites More sharing options...
DshWinchester Posted September 16, 2010 Share Posted September 16, 2010 > function BadName(byval index as long,byval badName as string,byval nName as string)> if getplayername(index) = "" & badName & "" then> call setplayername(index,"" & nName & "")> end if> > end functionsub newchar or joingameif badName(index,"Chuck Norris","Chuck Student")call playermsg(index,"you isn't so much cool to use this name",blue)end if Link to comment Share on other sites More sharing options...
Sputnak Posted September 16, 2010 Share Posted September 16, 2010 But if 2 people try using that name then they will have the same name? Isn't there a filter that would glitch it? It's better to just restart the createchar thing so they can rename instead of choosing one for them. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now