Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Modification Help
»
script entering console commands?
« previous
next »
Print
Pages: [
1
]
Author
Topic: script entering console commands? (Read 786 times)
Hazmat
December 29, 2010, 08:44:43 PM
I was thinking about making commands that would make blockland more user-friendly by making commands that you could enter into the console and i realized that i could save a lot of work by making the script enter a console command is this possible?
more straight forward if you dont understand: is it possible to make a script enter a command into the console?
Ad Bot
Advertisement
thaky
December 29, 2010, 09:07:15 PM
commandtoserver('[command]');
commandtoclient('[command]');
Kalasi-Ama
December 29, 2010, 09:08:05 PM
If you mean what I think you mean,
Code:
[Select]
eval("echo(\"Don't go making another techEval script.\");");
Hazmat
December 29, 2010, 09:11:29 PM
thanks thaky
i dont understand the above post
Kalasi-Ama
December 29, 2010, 09:14:46 PM
That's probably a good thing, too.
Chrono
December 29, 2010, 09:35:17 PM
Why would you make a script enter a command in a console when it can just call the command itself?
Hazmat
December 29, 2010, 10:14:20 PM
well i could also use this information to make a ban command for those REALLY lazy blocklander's out there
i have been on at least 3 servers where some admin has said they wished there was a ban command plus not everyone out there knows scripting so if you make a command to put in the chat in english they would be able to do console commands without having to look them up
Chrono
December 29, 2010, 10:21:40 PM
There already is a ban command.
in chat:
/ban 0 BLID time reason
in console:
commandToServer('ban',0,ID,TIME,"Reason");
or
banBLID(ID,TIME,"Reason");
if they're the host.
Hazmat
December 29, 2010, 10:40:10 PM
im also doing the ban command for experience with scripting but i didnt know there was a ban command thanks for that i guess i wont release it then but i can also use this information for the other reason stated in my last post
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Modification Help
»
script entering console commands?