Hello
Want to run a certain command Only I'm certain world's then simple use this for any command that you want to be able only on certain world
Am using as a sample
/p = plots command
And
/f = faction command
cmd create p
cmd add p if %level% != "plots" then message %p% [Info] You must be in Plots world to run this command!
cmd add p if %level% != "plots" then exit
cmd add p let %command% = join(%args%[1+], " ")
cmd add p /plot %command%
cmd create f
cmd add f if %level% != "world" then message %p% [Info] You must be in Faction world to run this command!
cmd add f if %level% != "world" then exit
cmd add f let %command% = join(%args%[1+], " ")
cmd add f /f %command%
Note (make sure to use the level name from the world
Otherwise the command will not work if your not using the right level name for the world you want to use)
Want to run a certain command Only I'm certain world's then simple use this for any command that you want to be able only on certain world
Am using as a sample
/p = plots command
And
/f = faction command
cmd create p
cmd add p if %level% != "plots" then message %p% [Info] You must be in Plots world to run this command!
cmd add p if %level% != "plots" then exit
cmd add p let %command% = join(%args%[1+], " ")
cmd add p /plot %command%
cmd create f
cmd add f if %level% != "world" then message %p% [Info] You must be in Faction world to run this command!
cmd add f if %level% != "world" then exit
cmd add f let %command% = join(%args%[1+], " ")
cmd add f /f %command%
Note (make sure to use the level name from the world
Otherwise the command will not work if your not using the right level name for the world you want to use)