NightDev Community Forums

Need help with custom command

Heyo.

I have some problems with getting a custom command. I use this string “!command_name -ul= userlevel -cd= cooldown -a= !alias command response”. I need the functions command_name, userlevel & cooldown. But I also wanna include a variable, so it can get a input from a different website. I know that I can create a command with variables without userlevel and cooldown, but I need those 2 functions.

So is there any way to create a command with a userlevel, cooldown and variable, but without the alias part? If so, please let me know

Hiya, yes the userlevel, cooldown, alias are optional, so you can just provide the onces you need:

!commands add !commandname -cd=10 -ul=everyone Message start here $(urlfetch ...urlfetch variable...) or $(user) or $(channel) whatever variable you need

1 Like

Ah, okay. Thank you so much! It helped me really much :heart:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.