Blockland Forums > Modification Help
Help With Chatbot
<< < (3/6) > >>
bloxmaster:

--- Quote from: jes00 on June 08, 2012, 11:19:53 AM ---Instead of if(%name $= "D3athkat") use if(%name $= $Pref::Player::NetName) so you don't have to change it every time you change your name.

--- End quote ---
Oh ok Thanks
bloxmaster:
Ok, I have echoed things in it I've changed the name to %name $= $Pref::Player::NetName and it just wont work would any other mods conflict with it because it echoes it just doesn't do the command to server.



bloxmaster:
Nvm I went to another server and tried it, it works perfectly a mod was conflicting with it, Thanks for your help!

(Sorry for double post)
Deoxys And One Noob:
It's nice code.

However, putting ifs can be tiring. Try case.
elm:

--- Quote from: Deoxys And One Noob on June 08, 2012, 08:44:03 PM ---It's nice code.

However, putting ifs can be tiring. Try case.

--- End quote ---

I dont like using cases personally, but you are right.
Navigation
Message Index
Next page
Previous page

Go to full version