Blockland Forums > Modification Help
Simple Script Help
Port:
--- Quote from: Ipquarx on June 09, 2012, 12:11:50 PM ---use NewPlayerListGui::update(%this,%cl,%name,%blid,%a,%b,%c).
--- End quote ---
forget no.
secureClientCmd_clientJoin.
otto-san:
Hold it!
if($JoinMessage::On = true)
That will set $JoinMessage::On to true, and so it'll always go even if it's off.
Either use == 1 or remove that part completely and just do $JoinMessage::On.
Ipquarx:
--- Quote from: Port on June 09, 2012, 12:14:07 PM ---forget no.
secureClientCmd_clientJoin.
--- End quote ---
Dear god you're so damn paranoid.
Use this then:
--- Code: ---function onServerMessage(%Message)
{
if(%Message $= "")
return;
newChatHud_addLine(%message);
if(getWord(%Message, getWordCount(%Message)-1) $= "connected.") {
//do stuff
}
}
--- End code ---
¥ola:
Lol
You guys are making me constantly redo stuff
Port:
--- Quote from: Ipquarx on June 09, 2012, 12:19:48 PM ---Dear god you're so damn paranoid.
Use this then:
--- Code: ---function onServerMessage(%Message)
{
if(%Message $= "")
return;
newChatHud_addLine(%message);
if(getWord(%Message, getWordCount(%Message)-1) $= "connected.") {
//do stuff
}
}
--- End code ---
--- End quote ---
Paranoid? What?