Raised This Month: $ Target: $400
 0% 

Need help with change command syntax


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-12-2021 , 08:13   Re: Need help with change command syntax
Reply With Quote #1

Oh, I see now. All required arguments must be before optional argument if you don't have a definitive way to differentiate between the two types. But if you do have a way to definitively differentiate between them, you would just have a single argument anyways.

I know that some plugins look for "@team" in a player name argument to apply an action to a whole team. However, this relies on a player never having that string in their name and you, as the executer of the function, not trying to apply it to a player using that string.
__________________
fysiks is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:35.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode