Author Topic: Connect through IP in console?  (Read 2374 times)

Trying to make a button that directly connects me to my server without having to find it on the list, yet when doing the command, It says "Syntax error in input"
What I put into the console is connect(98.246.85.137)
Any ideas why it's doing this?

Try adding "s
Like this
Connect("98.246.85.137");

Connect("98.246.85.137:28000");
That might help, I believe you need the port number.

Now I'm getting
<input> (0): Unable to find function connect

Now I'm getting
<input> (0): Unable to find function connect
I dont think that would work then

Try:
Code: [Select]
mj_connect("ip:port");I'm not sure what to do for the password, it appears to take it from the gui, I'm not sure how.
Tip for next time: use trace()

i have done this over and over for TCL, i used it so that clients would join a different server instead of the whole server changing the map, i will give the code once i get home from school :P

mj_connect(IP,Pass,???)

Something like that.

Kunit used it and I figured it out for him.

i have done this over and over for TCL
What is that, I've never heard of it before.

I used it so that clients would join a different server instead of the whole server changing the map
what?