Blockland Forums > Modification Help
not work %1 in script.
Cubelands:
--- Quote from: Amade on October 07, 2011, 04:48:28 PM ---It's not like he's doing it on purpose.
What I think you're trying to do is use "tagged strings". A tagged string looks like this:
--- Code: ---$pref::server::WelcomeMessage = 'Welcome to Blockland, %1.'
--- End code ---
In order to fill in the "tags", such as %1, you specify them after the tagged string when messaging a client.
--- Code: ---messageClient(%client, 'ChatMessage', 'Welcome to Blockland, %1.', %client.name);
--- End code ---
However, you can do the same thing in a different way like this:
--- Code: ---messageClient(%client, 'ChatMessage', "Welcome to Blockland, " @ %client.name @ ".");
--- End code ---
If you just want the client's name, though:
--- Code: ---%name = %client.name;
--- End code ---
--- End quote ---
Same thing vce script?
%name same as %cient.name simliar %1 code?
I will get home and I ll pm you of my scripts.
I thought headcrab zombie nice guy? But he not...
Destiny/Zack0Wack0:
--- Quote from: Cubelands on October 07, 2011, 04:54:13 PM ---I thought headcrab zombie nice guy? But he not...
--- End quote ---
All he was saying is you can't create a topic with really hard to understand code like "blah::blah" that gives no hints to what you mean and expect everyone to understand.
Cubelands:
-sinp-
infiniteLoop:
You speak like a foreigner, where are you from?
Or you are young...
Amade:
--- Quote from: infiniteLoop on October 07, 2011, 10:22:10 PM ---You speak like a foreigner, where are you from?
Or you are young...
--- End quote ---
He's deaf, american sign language seems to have dramatically different sentence construction than english.