Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CmdUtils.CreateCommand({
- name: "echo",
- takes: {"your shout": noun_arb_text},
- preview: function( pblock, theShout ) {
- pblock.innerHTML = "Will echo: " + theShout.html;
- },
- execute: function( theShout ) {
- var msg = theShout.html+ "... " + theShout.html+ "......";
- displayMessage( msg );
- }
- })
Add Comment
Please, Sign In to add comment