Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Simple addition script wont work
« previous
next »
Print
Pages: [
1
]
Author
Topic: Simple addition script wont work (Read 717 times)
-Setro-
March 11, 2015, 06:22:59 PM
I'm trying to learn TS, and for some reason, this refuses to work:
Quote
function servercmdadd(%a, %b) {
talk(%a SPC "plus" %b SPC "equals" %a + %b); }
Why isn't this working?
Ad Bot
Advertisement
TheBlackParrot
March 11, 2015, 08:32:02 PM
You forgot a space between
"equals"
and
%a + %b
e.g.
"equals" SPC %a+%b
jes00
March 11, 2015, 09:53:29 PM
1. The first argument of any server command is always
%client
.
2. You didn't put a connector between
"plus"
and
%b
.
3. You didn't put a connector between
"equals"
and
%a
.
-Setro-
March 12, 2015, 12:05:50 PM
ohhh.
thanks! that was dumb lol
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Simple addition script wont work