Blockland Forums > Modification Help

finding stats to do with the server

Pages: << < (2/2)

Port:


--- Quote from: Headcrab Zombie on January 28, 2012, 01:49:08 PM ---$ServerInfo::Name

--- End quote ---

Changed the code now.

Wordy:

Thank you guys.

Wordy:

Update. finished it off with your help. Thanks alot guys.



jes00:


--- Quote from: Wordy on January 28, 2012, 05:22:59 PM ---Update. finished it off with your help. Thanks alot guys.

-Pic-

--- End quote ---
You can also use getSubStr($ServerInfo::Name, 0, strStr($ServerInfo::Name, "\'")); to get the Host's name if you like.

Port:


--- Quote from: jes00 on January 28, 2012, 05:37:54 PM ---You can also use getSubStr($ServerInfo::Name, 0, strStr($ServerInfo::Name, "\'")); to get the Host's name if you like.

--- End quote ---

You don't need to escape ' unless if it's in a tagged string.

Pages: << < (2/2)

Go to full version