![]() |
![]() ![]() « Citoyen » 1381585140000
| 0 | ||
Livcorish a dit : Ordboka a dit : This will display the message, but it won't ever go away, so you might have to make that part yourself. I haven't tested the code, so if anything is wrong please tell me. |
0 | ||
Bismuthinite a dit : Lua a dit : can't do /mort but can do !mort Ordboka a dit : better wrap Bretjr with quotations |
![]() ![]() « Consul » 1381597440000
| 0 | ||
Issey a dit : Is it possible to make so that if you touched the shaman, then get the cheese? "Bushmeister just stole the cheese! CATCH HER!" And how to use tfm.get.room.playerList [name]. look returns. and Clothing IDs? |
0 | ||
A script to be able to run faster. |
![]() ![]() « Citoyen » 1381598160000
| 0 | ||
A script to despawn every object in da room when saying !despawn ofc |
![]() ![]() « Citoyen » 1381600740000
| 0 | ||
a dit : When I write !win twice, im dying. Why? |
![]() ![]() « Citoyen » 1381600980000
| 0 | ||
Mymicemy a dit : did you whrile !win after you got vampired ? That's a big , when ur a vamp and you get cheese you *die* |
![]() ![]() « Citoyen » 1381601100000
| 0 | ||
Abdeltif a dit : Nope Edit: all I need is reload... :D |
![]() « Citoyen » 1381606140000
| 1 | ||
Please, can anybody write script, wich return xml code of current map? I don't know why, but tfm.get.room.xmlMapInfo always return 'nil' and tfm.get.currentMap always return '0' |
![]() ![]() « Citoyen » 1381607400000
| 0 | ||
Does anyone have the teamdeath match or team ffa or whatever you want to call code? If not could someone make me a code which 1) Divides the room into two teams 2) Then associates these two teams with colours blue and red (Eg Blue team will have blue names) 3) The last player(s) alive of the same team win (Eg If two red players are alive, they don't have to fight each for their team to win, the team automatically wins) I think I can do the rest |
![]() ![]() « Consul » 1381608660000
| 1 | ||
Specagent a dit : XML Sharing/Stealing has always been frowned upon, you probably won't find anyone that'll share how to do that. However, currentMap and xmlMapInfo only ever have content the round AFTER the module is loaded, and nothing on vanilla maps. Sandermr a dit : red={} blue={} function makeTeams() local playerList={} for name,player in pairs(tfm.get.room.playerList) do table.insert(playerList,name) end for i=1,#playerList,1 do local index=math.random(#playerList) local name=playerList[index] if i%2==0 then table.insert(red,name) else table.insert(blue,name) end table.remove(playerList,index) end end |
![]() ![]() « Citoyen » 1381609800000
| 0 | ||
A script to despawn every object in da room when saying !despawn ofc Please !!! |
![]() ![]() « Consul » 1381610460000
| 0 | ||
Abdeltif a dit : Bearing in mind that you can't remove something from a table as you iterate through it, so here I created another temporary table and removed them from that with ipairs. function eventChatCommand(name,command) if command=="despawn" then local objects={} for k,v in pairs(tfm.get.room.objectList) do table.insert(objects,k) end for i,object in ipairs(objects) do tfm.exec.removeObject(object) end end end |
![]() ![]() « Consul » 1381610460000
| 0 | ||
A script to answer in chat like Cfm/Sourbot |
![]() ![]() « Consul » 1381610700000
| 0 | ||
Bethdacat a dit : Do you mean to whisper something in the chat to a specific player? That can only be done with tfm.exec.chatMessage() which is disabled in the tribe house. |
1 | ||
Bushmeister a dit : Cheese Thief a dit : ^untested Looks a dit : you can get the look id's from here Topic-465671 Swirlfire a dit : Speed a dit : not very perfect but it works |
![]() ![]() « Censeur » 1381613640000
| 0 | ||
Bethdacat a dit : Shamousey a dit : Or just normal commands where it prints what you want after a specific command? (i.e: !leaders command gives you the list of tribe leaders, !recruiters gives you the list of recruiters, etc) |
![]() ![]() « Citoyen » 1381615980000
| 0 | ||
Does anyone have the code for a poup with arrows (>>) to switch pages? The same in the utility mini-game. |
![]() ![]() « Consul » 1381617000000
| 0 | ||
Sandermr a dit : I posted it here. Topic-451991 |
![]() « Citoyen » 1381619160000
| 0 | ||
Ordboka a dit : Thanks so much! It's not working though, it dosen't show up. |