#custon ban reason

1 messages · Page 1 of 1 (latest)

late cipher
#

Idk but the Adonis info doesn't give you much help

warped cypress
#
return function(Vargs)
    local server, service = Vargs.Server, Vargs.Service

    server.Commands.Ban = {
        Prefix = server.Settings.Prefix;    -- Prefix to use for command
        Commands = {"melolban"};    -- Commands
        Args = {"player", "reason"};    -- Command arguments
        Description = "Example command";    -- Command Description
        Hidden = true; -- Is it hidden from the command list?
        Fun = false;    -- Is it fun?
        AdminLevel = "Players";        -- Admin level; If using settings.CustomRanks set this to the custom rank name (eg. "Baristas")
        Function = function(plr,args)    -- Function to run for command
            server.Commands.gameban.Function = function(plr: Player, args: {string}, data: {any})            
            server.Admin.AddBan(args[1], "you suck".. args[2])

            end
        end
    }
end```
#

thats my script but it give me an error

late cipher
#

I think

warped cypress
#

i just get this

late cipher
#

Oh

#

I'm not really a scripter but its probably an error idk

warped cypress
#

alr ill wait for smbdy else