Blockland Forums > Modification Help
EVAL event
<< < (4/6) > >>
Destiny/Zack0Wack0:
You're late.
otto-san:

--- Quote from: Destiny/Zack0Wack0 on October 21, 2011, 11:18:56 PM ---You're late.

--- End quote ---
i'd assumed that he would have updated the OP with a more recent code


the sad thing is i actually did read the thread before i posted that

edit:
Just a note to OP, getSubStr has three parameters.

sourceString startCharacter endCharacter


It basically returns the characters in sourceString from startCharacter to endCharacter.

so if i did echo(getSubStr("Woah! That's pretty neat.", 0, 4));, it'd echo "Woah!".
MegaScientifical:

--- Quote from: MARBLE MAN on October 20, 2011, 09:32:20 PM ---Doesnt allow anyone to use doEval

--- End quote ---

Because slash commands don't do %client.command(%text);, they do serverCmdCommand(%client, %text);. That needs to be a serverCmd.
Munkey:

--- Quote from: MegaScientifical on October 22, 2011, 12:34:34 AM ---Because slash commands don't do %client.command(%text);, they do serverCmdCommand(%client, %text);. That needs to be a serverCmd.

--- End quote ---
Its an event....?
MegaScientifical:

--- Quote from: Munkey on October 22, 2011, 01:05:02 AM ---Its an event....?

--- End quote ---

In that case, he needs to register it.
Navigation
Message Index
Next page
Previous page

Go to full version