• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] Name Changing Trigger

Status
Not open for further replies.
Level 2
Joined
Jan 1, 2007
Messages
19
Hello.

..
......

Well, the name pretty much says it all. I need a trigger that changes your name when you say a certain phrase. like so...

Flamingo: -name Poop
Poop: Yay

I would love this to be in GUI but if its in JASS I'm fine with it. Thank you, and I will give credits!

~Flamingo!
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
Use -name as the trigger to the player types text event then just change the player's name to that of the after text.
In gui there is a player change name action and the ablily to cut a string out of a string

Like. . .
DrSuperGood: -name dooGrepuSrD
//-name detected, running actions
//Get all text after "-name "
//Change triggering player's name to that of the extracted text
dooGrepuSrD: DrSuperGood is now fully backward compatiable LOL. . .

Note the // represent a noobish interpretation of what the game engine should be doing.
 
Yeah i used a name changer in a map i made a while ago. The only problem with it is it makes it hard to ban people/whisper/add to friends so i would create a leaderboard or something that stores the original name of each player that people can look at. People will do ALOT of bad #@$% if they know they cant get caught for it.
 
Status
Not open for further replies.
Top