ULX

Author Topic: Running console commands on a custom sh cmd.  (Read 1533 times)

0 Members and 1 Guest are viewing this topic.

Offline Legendary

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Running console commands on a custom sh cmd.
« on: August 26, 2015, 03:16:25 PM »
I'm wonder if you guys know the code for running a console command, so if I want to have a command like !act, it's will run the console command +acts but without using the console, but as s playerSay. Thx.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Running console commands on a custom sh cmd.
« Reply #1 on: August 26, 2015, 07:10:55 PM »
I've no clue what you're asking.
If +acts is a console command, you'll have to run it in console.
Even if you make a chat command that runs the command, it's still going to be a chat command running a console command.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline lampman13

  • Jr. Member
  • **
  • Posts: 71
  • Karma: -10
Re: Running console commands on a custom sh cmd.
« Reply #2 on: September 20, 2015, 12:33:53 PM »
I dont know if this is what you mean but  you can use RunConCommand that would run the console command without you using the console command it still would use the console though