can i do this? (||)
#2

I am not sure you can. Try like this:
PHP Code:
if(channel == g_Discord_Admin_CMD)
{
    if(!
strcmp(command"!mycommand"true)) 
    {
        if(
role == g_Role_Level_1 || role == g_Role_Level_2 || role == g_Role_Level_3 || role == g_Role_Level_4)
        {
            
//My action
        

        else return 
DCC_SendChannelMessage(g_Discord_Admin_CMD"```ERROR: You're not an admin!```");
    }

Reply


Messages In This Thread
can i do this? (||) - by Filbert - 26.05.2020, 09:30
Re: can i do this? (||) - by SharpenBlade - 26.05.2020, 09:48
Re: can i do this? (||) - by Filbert - 26.05.2020, 10:11
Re: can i do this? (||) - by Kwarde - 26.05.2020, 10:22
Re: can i do this? (||) - by Filbert - 26.05.2020, 12:03

Forum Jump:


Users browsing this thread: 1 Guest(s)