Lua Snippets |
0 | ||
Epicshawty a dit : Okay. E: Clearly I'm stupid since it always shows errors when I validate that. |
![]() ![]() « Citoyen » 1380583800000
| 0 | ||
I tried to make a minigame and now it won't work *cries* |
![]() ![]() « Citoyen » 1380585720000
| 0 | ||
Xxninjazxx a dit : Post the code in paste.moepl.eu or somethin |
![]() ![]() « Citoyen » 1380592620000
| 0 | ||
Trying to make a script that respawns a dead mouse upon a cannon being spawned, at the moment I have this. a dit : However, that just picks from any mouse, including the ones that are alive, so it doesn't actually do what I want it to do. I'm assuming it is just something I'm missing, so hopefully someone can help. <: |
![]() ![]() « Consul » 1380593520000
| 0 | ||
Jtojto a dit : Just make a table of people that are alive, and pick from that. a dit : |
![]() ![]() « Citoyen » 1380596220000
| 0 | ||
Sorry if you find a mistake in my english, I speak spanish, but how do I make a command that for example changes the color of my name if I say !color Funkieee 000FFF and turn it to blue? |
![]() ![]() « Citoyen » 1380613200000
| 0 | ||
a dit : Can someone change the script,insted of flying with space,can u make it with Arrow Up? |
![]() ![]() « Consul » 1380614760000
| 0 | ||
Funkieee a dit : function eventChatCommand(name,command) local arg={} for argument in args:gmatch("[^%s]+") do table.insert(arg,argument) end if arg[1]=="color" then tfm.exec.setNameColor(arg[2],tonumber(arg[3],16)) end end Kirilkiril a dit : Change the 32 to 38. |
![]() ![]() « Citoyen » 1380647160000
| 0 | ||
a dit : I want to fall in 3 different places so it will be like? |
![]() ![]() « Citoyen » 1380655740000
| 0 | ||
Funkieee a dit : That is in the OP, 'Advanced Command' |
0 | ||
So Bengal gave me this snippet. if 1<2 then print("Hello, welcome to Dreamer of Dreams!") endif 1 <2 then print ( "Type in !commands for a list of commands." )end What's wrong with it? It always says errors and I'm trying to remove anything I can find, but nothing works. |
![]() ![]() « Citoyen » 1380661980000
| 0 | ||
Swirlfire a dit : hmm maybe this might work if 1>2 then print("Hello, welcome to Dreamer of Dreams!") end if 1 <2 then print ( "Type in !commands for a list of commands." ) end |
0 | ||
Bengalstar a dit : Okay it worked thank youuu |
![]() ![]() « Citoyen » 1380662220000
| 0 | ||
Swirlfire a dit : any time also that code I gave you I was trying to explain you were supposed to enter the ends |
![]() ![]() « Citoyen » 1380663120000
| 0 | ||
a dit : [•] You can't call this function [tfm.exec.newGame] more than once per 3 seconds. |
![]() ![]() « Consul » 1380663900000
| 0 | ||
Swirlfire a dit : This isn't a valid operator. Xdmanuxd a dit : What's the problem? The error/warning there tells you exactly what's going on. |
![]() ![]() « Citoyen » 1380664020000
| 0 | ||
I have two XML but I only recorded the first and the other does not pass, which is the rotation script? @ googleTranslater |
0 | ||
Could I save this snippet here? for name,player in pairs(tfm.get.room.playerList) do tfm.exec.setShaman(name) tfm.exec.setVampirePlayer(name) end |
![]() ![]() « Citoyen » 1380668520000
| 0 | ||
Swirlfire a dit : If you didn't notice, that snippet was in the OP. |
![]() ![]() « Citoyen » 1380674940000
| 0 | ||
a dit : I want to get this script to start a new round upon the number of mice that are alive being less than or equal to 1, however I was getting a few different errors depending on how I changed that portion. I just got rid of it for now and never saved it, so this is the script that doesn't have my attempt to get it to work included. |