I was trying to make a custom @command named @reward that gives zeny to a player as an event reward, but if player has spaces on their name eg: M y C h A r N a m e, then the custom command fails. I know # commands work on this by adding " " before and after the character name but how do I make my own custom #command?
Question
QwertyD
Hey guys,
I was trying to make a custom @command named @reward that gives zeny to a player as an event reward, but if player has spaces on their name eg: M y C h A r N a m e, then the custom command fails. I know # commands work on this by adding " " before and after the character name but how do I make my own custom #command?
Example:
#reward "N a M e" 10000
To give 10000 zeny reward to that player.
Thanks!
Edited by QwertyDLink to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.