.tp as shortcut for /teleport
parent
647bef69ef
commit
cb750996ff
10
init.lua
10
init.lua
|
@ -483,6 +483,16 @@ minetest.register_chatcommand('wp_show', {
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
minetest.register_chatcommand('tp', {
|
||||||
|
params = '<position/player>',
|
||||||
|
description = 'shortcut for /teleport',
|
||||||
|
func = safe(function(param)
|
||||||
|
safe(minetest.run_server_chatcommand('teleport',param ))
|
||||||
|
end),
|
||||||
|
}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
-- wp_grep written by erstazi (player at Linux-Forks.de )
|
-- wp_grep written by erstazi (player at Linux-Forks.de )
|
||||||
minetest.register_chatcommand('wp_grep', {
|
minetest.register_chatcommand('wp_grep', {
|
||||||
params = '<name>',
|
params = '<name>',
|
||||||
|
|
Loading…
Reference in New Issue