Since i downloaded Blank Server, When i open main.nut with text editor, i see many commands work with /, but guys how to make all commands work as !
example: !heal, etc
so guys please give me a example
You have to make a workaround in onPlayerChat & onPlayerCommand to verify if the player used the ! prefix.
hmmmmmmmm how
Quote from: ForOver on Oct 22, 2017, 08:22 PMhmmmmmmmm how
Use text.find(0,1) to identify the first character of the string.
text.find what, actually text.slice( 0, 1 ) would be the first alphabet of the text
Quote from: Xmair on Oct 23, 2017, 09:16 AMtext.find what, actually text.slice( 0, 1 ) would be the first alphabet of the text
My bad :3