Script Requests |
Safwanrockz « Censeur » 1407524100000
| 0 | ||
It's not possible to make a Lua script that's applied on two rooms. Dernière modification le 1407524160000 |
Woebegone « Citoyen » 1407617520000
| 0 | ||
A script that changes to a newGame after the admin says a specific command (example, !command) |
Frozenjord « Citoyen » 1407665220000
| 0 | ||
Juliantwofan a dit : Admins = {Jamesqwartz = true, Someguy = true} function eventChatCommand(name, command) if Admins[name] then if command == "new" then v = math.floor( math.random()*144) tfm.exec.newGame(v) end end end When you type !new it will pick a random vanilla map. Change the 'Admins' with the name(s) that you want to include, separating each with a comma. If you have a list of maps you want to choose, use a script a bit more like this: Admins = {Jamesqwartz = true, Someguy = true} Maps = {"@2643833", 82, "@873823", 1} function eventChatCommand(name, command) if Admins[name] then if command == "new" then tfm.exec.newGame(Maps[math.random(#maps)]) end end end Add maps inside the 'Maps' table and separate each with a comma, when adding custom maps enclose them in quotation marks. Dernière modification le 1407665340000 |
Emberkitx « Citoyen » 1407676980000
| 0 | ||
is it possible to make one certain person infinity jump? |
Frozenjord « Citoyen » 1407677400000
| 0 | ||
Emberkitx a dit : tfm.exec.bindKeyboard("Jamesqwartz", 32, true, true) function eventKeyboard(name, key, down, x, y) if key == 32 then tfm.exec.movePlayer(name, 0, 0, true, 0, -50, false) end end Replace my username with whichever person you want to fly and use spacebar to jump. Dernière modification le 1407677520000 |
Woebegone « Citoyen » 1407685200000
| 0 | ||
Jamesqwartz a dit : Thanks, but where do I put the map? |
Frozenjord « Citoyen » 1407690540000
| 0 | ||
Juliantwofan a dit : Admins = {Jamesqwartz = true, Someguy = true} function eventChatCommand(name, command) if Admins[name] then if command == "new" then tfm.exec.newGame(Insert map here) end end end Where I have put 'Insert map here' enter the number or if it's a custom map put the code enclosed in quotation marks like: "@2643833" |
Goondad « Citoyen » 1407693480000
| 0 | ||
Is it possible to change the RoomName with LUA? And a way to set a Blue and a Pink shaman in the UI above, while they are not shamans for real? Just like the one-shaman snippet? |
Frozenjord « Citoyen » 1407694380000
| 0 | ||
The room name as far as I know cannot be changed, but for dual sham you can use this sort of thing: tfm.exec.setUIShamanName("Elise - <font color='#FEB1FC'>Papaille") |
Woebegone « Citoyen » 1407789480000
| 0 | ||
Jamesqwartz a dit : Thanks again! |
Cheetahkitty « Citoyen » 1407969840000
| 0 | ||
How do I make it so that it says to a random mouse *you are the Tagger* and then to the other mice it says _____ it the tagger run away! then the mouse who has the *you are a tagger can press space to kill the mice |
Frozenjord « Citoyen » 1408014420000
| 0 | ||
This script should do exactly what you want. When you run the script you will need to /np any map and the tag script will start. If you want to include a custom playlist of maps or need any additional help, just ask. Dernière modification le 1408016040000 |
0 | ||
id of the fish fugu [fishing event]? |
Cheetahkitty « Citoyen » 1408131480000
| 0 | ||
Jamesqwartz a dit : Yeha how do u do that? the map |
0 | ||
A script for cupidon mode please? Dernière modification le 1408144620000 |
Frozenjord « Citoyen » 1408147380000
| 0 | ||
cheetahkitty a dit : Well if it's simply one map that you want to play then use this. I added a !new command to restart the map, where it says "map = 2643833" you will want to change that number to the map code of your choice. However if you want to use several maps then use this. In the 'maps' table you can add whatever you want (and remove what is already there) so long as you separate each map code by a comma. It's all fairly untested so notify me if anything goes wrong. Dobrjik a dit : The ID is 65. Dernière modification le 1408179960000 |
Frozenjord 1408179840000
| | ||
[Modéré par Shamousey, raison : Accidental double post.] Dernière modification le 1408179960000 |
0 | ||
Cucsmardul a dit : Please??? :D:D:D:D |
Woebegone « Citoyen » 1408231260000
| 0 | ||
script a dit : I have a problem with not being able to command the previous map(s) and having to command the order of the maps on the script to being able to get to the map you want on. help?? |
Cheetahkitty « Citoyen » 1408237740000
| 0 | ||
Juliantwofan a dit : Admins = {Jamesqwartz = true} function eventChatCommand(name, command) if Admins[name] then if command == "new" then v = math.floor( math.random()*144) tfm.exec.newGame(v) end end end |