Warriors of Darkness Forum

Welcome to Clan WoD's Forum!
 
HomeHome  FAQFAQ  SearchSearch  RegisterRegister  MemberlistMemberlist  UsergroupsUsergroups  Log in  

Share | 
 

 Name Spoofing Trigger

Go down 
AuthorMessage
Guest
Guest
avatar


PostSubject: Name Spoofing Trigger   Fri 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
avatar

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

PostSubject: Re: Name Spoofing Trigger   Sun 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
View user profile
Guest
Guest
avatar


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

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

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

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

Your too lazy to copy-paste? Shocked

_________________

Back to top Go down
View user profile http://clanwod.quickbb.net
Guest
Guest
avatar


PostSubject: Re: Name Spoofing Trigger   Mon 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

PostSubject: Re: Name Spoofing Trigger   Mon 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
View user profile
Sponsored content




PostSubject: Re: Name Spoofing Trigger   

Back to top Go down
 
Name Spoofing Trigger
Back to top 
Page 1 of 1

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