Warriors of Darkness Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Warriors of Darkness Forum

Welcome to Clan WoD's Forum!
 
HomeHome  SearchSearch  Latest imagesLatest images  RegisterRegister  Log in  

 

 Name Spoofing Trigger

Go down 
3 posters
AuthorMessage
Guest
Guest
Anonymous



Name Spoofing Trigger Empty
PostSubject: Name Spoofing Trigger   Name Spoofing Trigger EmptyFri Feb 15, 2008 6:36 am

Some people might want to add certain trigger to make their maps more "interesting" I suppose.

Name Spoofer

Events (With the Assumption you have only 8 Players)
Player - Player 1 (Red) types a chat message containing -name as A substring
Player - Player 2 (Blue) types a chat message containing -name as A substring
Player - Player 3 (Teal) types a chat message containing -name as A substring
Player - Player 4 (Purple) types a chat message containing -name as A substring
Player - Player 5 (Yellow) types a chat message containing -name as A substring
Player - Player 6 (Orange) types a chat message containing -name as A substring
Player - Player 7 (Green) types a chat message containing -name as A substring
Player - Player 8 (Pink) types a chat message containing -name as A substring
Conditions
(Entered chat string) Equal to (-name + (Substring((Entered chat string), 7, (Length of (Entered chat string)))))
Actions
Player - Set name of (Triggering player) to (Substring((Entered chat string), 7, (Length of (Entered chat string))))

If you want to limit the number of letters simply add this under conditions;

(Length of (Substring((Entered chat string), 7, (Length of (Entered chat string))))) Equal to X

Where X is the number of letters that you want
Back to top Go down
Alex
World Editor Mod
Alex


Number of posts : 44
Username : SirAlexander
Registration date : 2008-01-26

Name Spoofing Trigger Empty
PostSubject: Re: Name Spoofing Trigger   Name Spoofing Trigger EmptySun Feb 17, 2008 3:10 am

Nice trigger, maybe when your posting it put it in [script][/script] tags.
Also make your trigger first, if it works then right click the triggers name and go copy as text then put it in side a the script tags.
Back to top Go down
Guest
Guest
Anonymous



Name Spoofing Trigger Empty
PostSubject: Re: Name Spoofing Trigger   Name Spoofing Trigger EmptySun Feb 17, 2008 5:23 am

I'm lazy to do it.....
Back to top Go down
ZeroX2)Fire
Administrator
ZeroX2)Fire


Number of posts : 578
Username : ZeroX2)Fire
Registration date : 2008-01-24

Name Spoofing Trigger Empty
PostSubject: Re: Name Spoofing Trigger   Name Spoofing Trigger EmptySun Feb 17, 2008 7:29 am

Your too lazy to copy-paste? Shocked
Back to top Go down
https://clanwod.forumotion.com
Guest
Guest
Anonymous



Name Spoofing Trigger Empty
PostSubject: Re: Name Spoofing Trigger   Name Spoofing Trigger EmptyMon Feb 18, 2008 3:58 am

Obviously, [script][/script] doesn't work because you can see it........
Back to top Go down
HamAma
Global Moderator



Number of posts : 227
Username : HamAma
Clan : Clan BS
Registration date : 2008-01-25

Name Spoofing Trigger Empty
PostSubject: Re: Name Spoofing Trigger   Name Spoofing Trigger EmptyMon Feb 18, 2008 4:04 am

Try using the code tags instead. It basically does the same thing, since it retains spaces and stuff. I think.
Back to top Go down
Sponsored content





Name Spoofing Trigger Empty
PostSubject: Re: Name Spoofing Trigger   Name Spoofing Trigger Empty

Back to top Go down
 
Name Spoofing Trigger
Back to top 
Page 1 of 1
 Similar topics
-
» I need help with a trigger.
» Need Trigger Help
» I need help with a spell trigger
» Startnge Trigger Need Help [Wtf?!?!]
» Leaving Indictation Trigger

Permissions in this forum:You cannot reply to topics in this forum
Warriors of Darkness Forum :: Warcraft III :: Mapmaking-
Jump to: