Author Topic: How do I toggle a command  (Read 352 times)

0 Members and 1 Guest are viewing this topic.

Offline TheMilkMan

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
How do I toggle a command
« on: June 09, 2019, 06:27:00 PM »
I want to use !admin to toggle admin mode and say it again to do !unadmin
« Last Edit: June 09, 2019, 08:30:44 PM by TheMilkMan »

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2708
  • Karma: 424
    • |G4P| Gman4President
Re: How do I toggle a command
« Reply #1 on: June 10, 2019, 05:36:30 PM »
You can create custom commands using modules. Take a look at the current commands in the ULX modules folders for examples on how to do this.