Author Topic: Chat commands  (Read 1422 times)

0 Members and 1 Guest are viewing this topic.

Offline alewis7

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Chat commands
« on: September 26, 2015, 12:59:51 AM »
What's the code to connect to another IP while in a server. AKA, a chat command

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Chat commands
« Reply #1 on: September 26, 2015, 07:13:02 AM »
There is no chat command. You'd have to make one or find one already written.
The console command is 'connect <ip:<port if not default>>'

Though something like this idea would be a good way to learn lua, I don't understand why someone would wish to use it.
For the tiny bit of additional memory/server resources/filespace the command would take up for lua, it's easier to just use the console and use the already included in Source command.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline alewis7

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Re: Chat commands
« Reply #2 on: September 27, 2015, 02:39:37 AM »
Yeah, I was thinking of attaching a command to connect to another one of my server just by typing !darkrp or !prophunt..etc

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Chat commands
« Reply #3 on: September 27, 2015, 06:53:31 AM »
You should look into two community members releases in our releases section here.
Either would likely serve in the place of what you wish to do.
See;
Server "Hopper" + Platform
and
Simple Hopper
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming