Skript programming help

Discussion in 'Spigot Plugin Help' started by Cherlox, Apr 21, 2017.

  1. Hello,
    I have a skript plugin for a punishment GUI, and whenever I program an item in the GUI to execute a command while being clicked on.
    I would like to add that I am using AdvancedBans on BungeeCord.
    When I click on the item it bans using the regular ban system and not AdvancedBans' ban system.
    How can I change this?
    The line is:
    Code (Text):
    format slot 23 of player with cactus green named "&a&lSeverity 1" with lore "&fBan Duration: &e1.0 Days||||&7Examples:||&f   Damage Indicators||&f   Player Radar" to close then run [do [execute player command "/tempban %arg-1% 1d %arg-2%"]]
    Thanks!