Total Miner Scripts Miscellaneous

Modular Teleport Menu System

  • 136 views 1 today
  • save_alt 10 downloads
  • 5
  • 3
Funiverse Minnesota
Lvl 8Cadet Goose
12
Modular teleport menu that you can add extra locations with a single line of code. You can also dynamically add locations based on prerequisites. It also comes with a per player history based toggle system.

Some helpful extra scripts:
Toggle On
//This script reenables the teleport menu for whoever runs it
set_history("TeleportMenu/Toggle", 0)

Toggle Off
//This script will disable the teleport menu for whoever runs it. If you use this on a zone entry make
//sure to put the toggle on on zone exit
set_history("TeleportMenu/Toggle", 1)

Invert Toggle
//This script will invert the teleport menu toggle
//EXAMPLE: If the toggle is off and this script run it will turn the toggle on
//EXAMPLE: If the toggle is on and this script is run is will turn the toggle off
local toggle = 0 == get_history("TeleportMenu/Toggle")

if toggle then
set_history("TeleportMenu/Toggle", 1)
else
set_history("TeleportMenu/Toggle", 0)
end

  Have something to say?

Welcome