command /class [<text>]:
trigger:
if arg 1 is not set:
send "Test"
open virtual chest inventory with size 1 named "&4&lClass Menu" to player
create a gui slot 0 of player with paper named "&4&lDemon" to execute console command "/manuadd %player% demon"
else if arg 1 is "select":
wait 2 tick
open virtual chest inventory with size 1 named "&4&lCLASSES" to player
create a gui slot 0 of player with 35:15 named "&4&lDemon" to close then execute console command "/manuadd %player% demon"
create a gui slot 1 of player with 35:7 named "&7&lHuman" to close then execute console command "/manuadd %player% human"
create a gui slot 2 of player with 35 named "&e&l&lAngel" to close then execute console command "/manuadd %player% angel"
create a gui slot 8 of player with 152 named "&4&lClose!" to close with left click
else:
send "test"
How do i add a lore to the gui slot items.
trigger:
if arg 1 is not set:
send "Test"
open virtual chest inventory with size 1 named "&4&lClass Menu" to player
create a gui slot 0 of player with paper named "&4&lDemon" to execute console command "/manuadd %player% demon"
else if arg 1 is "select":
wait 2 tick
open virtual chest inventory with size 1 named "&4&lCLASSES" to player
create a gui slot 0 of player with 35:15 named "&4&lDemon" to close then execute console command "/manuadd %player% demon"
create a gui slot 1 of player with 35:7 named "&7&lHuman" to close then execute console command "/manuadd %player% human"
create a gui slot 2 of player with 35 named "&e&l&lAngel" to close then execute console command "/manuadd %player% angel"
create a gui slot 8 of player with 152 named "&4&lClose!" to close with left click
else:
send "test"
How do i add a lore to the gui slot items.
