"" marks


(gee666) #1

So i’m seeing alot of diffrent configs in my serch for answers

some have “1” as the value next to si_ commands and some don’t

do “” marks matter ?

are some required and some not?

for example

bot_enable “1”
or
si_rankRestricted 0

thanks


(impulse) #2

They are and they are not needed. It depends on what you are trying to do.

If you look at the g_password command. This is a command that you will either want something set or you want it to be BLANK.

If you type just g_password, you will get a return saying what g_password is current set to

Example:
>g_password
g_password is currently “”, Default is “”

If you type g_password “”. this will set the password to BLANK as the command is saying read everything between the " marks.

Example:
>g_password “”
Command completed successfully

Another case where you need the " marks is when you are entering a command that has spaces. sense the comands are read as 1 word and a space shows a sub command of it’s parent or a value.

Example:
>si_name Bob’s Server
Name will be set to Bob’s if the command even works at all

>si_name “Bob’s Server”
Name will be set to Bob’s Server

So sometimes you do not need the " marks, but it is a good pratice to always use them anyways. They will not hurt your command.


(gee666) #3

Thanks that

Serriously loving the community today


(impulse) #4

no problem!