function powerup(type) local perm = gv("permission") if type == 1 then -- Admin if perm == 100 then add_state(1001, 300, 777600000) add_state(1002, 300, 777600000) add_state(1003, 300, 777600000) add_state(1004, 300, 777600000) add_state(1005, 300, 777600000) add_state(1006, 300, 777600000) add_state(1007, 300, 777600000) add_state(1008, 300, 777600000) add_state(1009, 300, 777600000) add_state(1010, 300, 777600000) add_state(1011, 300, 777600000) add_state(1012, 300, 777600000) add_state(1013, 300, 777600000) add_state(1014, 300, 777600000) add_state(1014, 300, 777600000) add_state(1015, 300, 777600000) add_state(1301, 1, 777600000) add_state(1302, 1, 777600000) private_notice("You feel the power of the Legendary Saiyajin swell within you!!!") else private_notice("You are not a [ADM]/[DEV] you cannot have these buffs!") end elseif type == 2 then -- GM elseif type == 3 then -- AGM end end function pepega(id) private_notice(id) name = get_value("name") private_notice(name) perm = gv("permission") private_notice(perm) if id == 1 then -- if perm == 100 then remove_state(1001, get_state_level(1001), name ) remove_state(1002, get_state_level(1002), name ) remove_state(1003, get_state_level(1003), name ) remove_state(1004, get_state_level(1004), name ) remove_state(1005, get_state_level(1005), name ) remove_state(1006, get_state_level(1006), name ) remove_state(1007, get_state_level(1007), name ) remove_state(1008, get_state_level(1008), name ) remove_state(1009, get_state_level(1009), name ) remove_state(1010, get_state_level(1010), name ) remove_state(1011, get_state_level(1011), name ) remove_state(1012, get_state_level(1012), name ) remove_state(1013, get_state_level(1013), name ) remove_state(1014, get_state_level(1014), name ) remove_state(1014, get_state_level(1014), name ) remove_state(1015, get_state_level(1015), name ) remove_state(1301, get_state_level(1301), name ) remove_state(1302, get_state_level(1302), name ) private_notice("TEST buff delete") else private_notice("TEST buff no delete") end elseif id == 2 then elseif id == 3 then end end