View Single Post
Old 07-24-2008, 02:30 AM   #2 (permalink)
Marcelo Hossomi
 
Marcelo Hossomi's Avatar

Brazil Fan
 
Join Date: Dec 2005
Posts: 398

Marcelo Hossomi has little to show at this moment (23)Marcelo Hossomi has little to show at this moment (23)Marcelo Hossomi has little to show at this moment (23)


Events
Player - Player 1 (Red) types a message containing -name as a substring
Conditions
Actions
Set newName = (Entered Chat String)
Set newName = Sustring( newName, 7, Lenght(newName) )
Player - Set name of (Triggering Player) to newName

That is, whenever a player types the command to change name, it will store the string from the 7th character on ("-name " has 6 chars, so stat from the 7th) and change the name of the player who typed it.
__________________

YIN-YANG BATTLE - active
TERRAINiii - HEROESiiii - ITEMSiiiii - EVENTSiiii

ARCANE TD - paused
TERRAINiii - RACESiiiii - CREEPSiiii - EVENTSiiii

Marcelo Hossomi is offline   Reply With Quote
 
Loans | Credit Cards | Secured Loans | Secured Loans | Moneygram