Ulysses
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Ulysses
»
General
»
Developers Corner
»
How do I toggle a command
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: How do I toggle a command (Read 2033 times)
0 Members and 3 Guests are viewing this topic.
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
»
Logged
MrPresident
Ulysses Team Member
Hero Member
Posts: 2728
Karma: 430
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.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Ulysses
»
General
»
Developers Corner
»
How do I toggle a command