//: Initialize CustomBar
//: =-------------------=
//: Add Colors
set left = ARGB.create(255, 8, 74, 16)
set right = ARGB.create(255, 214, 255, 230)
//: I Highly suggest to not touch this->
set c = CustomBar.create(GetTriggerUnit(), CustomBar_iChange.SpellBar_updateSpellBar)
//: Add a gradient
call c.txtBar.addGradient(left, right, 1, 25)
//: Show the CustomBar to this playergroup
call c.Show(bj_FORCE_ALL_PLAYERS, CustomBar_iShow.SpellBar_showCheck)
//: Display the CustomBar.
call c.showCB()
//: Now change our CustomBar to display the Spellname aswell.
set c.txtBar.limiterVisible = true
set c.txtBar.limiterSymbolRight = ""
set c.txtBar.limiterSymbolLeft = GetObjectName('AHhb') + "\n"
//: Actually creates the SpellBar
call SpellBar.create(GetTriggerUnit(), 'AHhb', 2.00, c)
Can be reduced to