Script Requests |
Mousecrewz « Citoyen » 1413079440000
| 0 | ||
Mousecrewz a dit : Someone please do the script? |
Thundernicey « Citoyen » 1413276600000
| 0 | ||
could you make a racing script that loads racing scripts? |
0 | ||
Thundernicey a dit : A simple racing rotation: http://trospaste.skn1.com/htdocs/view/e9ac8fec I only put 4 maps but you can add as many as you want. mousecrewz a dit : Something similar to #ffarace? |
Mousecrewz « Citoyen » 1413446100000
| 0 | ||
Hinakagiyama a dit : Yes, The system of difficulties such as the ffarace. Just to appear like this: @Code | Difficulty: 1 - Very Easy | Time remaining: 02:00 | Mice: 1 @Code | Difficulty: 2 - Easy | Time remaining: 02:00 | Mice: 1 @Code | Difficulty: 3 - Medium | Remaining time: 02:00 | Mice: 1 @Code | Difficulty: 4 - Hard | Time remaining: 02:00 | Mice: 1 @Code | Difficulty: 5 - Very Hard | Time remaining: 02:00 | Mice: 1 |
0 | ||
mousecrewz a dit : Here: http://trospaste.skn1.com/htdocs/view/30a5d0fa I didn't understand the point of showing the Time remaining and Mice in there or what exactly it's supposed to indicate so I skipped that bit. There may be some things not in use because I started from a map rotation template similar to the one I posted previously. |
Mousecrewz « Citoyen » 1413595560000
| 0 | ||
Would you like a profile script. When typing !profile that appears Name of Player [Font 20] Wins: Number (each time I enter the burrow increases 1) Wins in first: Number (When the player enters in touch first increases 1) Deaths: Number (When the player dies increases 1) Rounds: Number (When you start a new round increases 1) I ask you to join the script with the following script: admins={"Mousecrewz","+Whiskyziin"}; version=1.6 local maps = { {1,2,6,8,11,14,19,22,23,24,30,34,35,37,49,54,55,57,58,59,61,67,69,70,71,74,75,76,80,86,92,114,118,121,122}, {7,10,12,13,15,26,27,28,29,33,36,40,41,42,43,53,56,62,63,64,65,73,77,78,79,85,96,100,117,119,120,123,127,136,137,138}, {5423355,5428225,4953687,5488573,5045922,2369254,322771,5349806,3468601,732880,266930,3592471,5175746,5175762,3669435,4488954,2509175,345290}, {5087373,5422102,5044309,3636268,5000090,3549484,3272722,4895634,175205,3390721,3369945,3374495,3368265,3335905,5456995,2639556,5492111,3211259,5078389,3247918}, {2451444,319443,1014313,2451444,593530,222910,371579,366809,215933,4027263,4093488,3428069} } local difficulty = {"Pacific","Easy","Medium","Hard","Extreme"} local currentMap = {} local currentCat local newMap local nextMap local firstMouse local gameFinished = true local gameLoaded local gameStarted local mice = {} local playersInRoom = 0 local playersAlive = 0 local isAlive function main() tfm.exec.disableAutoNewGame(true) tfm.exec.disableAutoScore(true) tfm.exec.disableAutoTimeLeft(true) tfm.exec.disableAutoShaman(true) for n in pairs(tfm.get.room.playerList) do tfm.exec.setPlayerScore(n, 0) eventNewPlayer(n) end startGame() end function startGame() tfm.exec.newGame(nextMap or randomMap()) nextMap = nil end function endGame() gameFinished = true tfm.exec.setGameTime(5) for name in pairs(isAlive) do tfm.exec.killPlayer(name) end end function eventNewGame() gameLoaded = true gameStarted = false gameFinished = false firstMouse = nil tfm.exec.setUIMapName("<BL>"..tfm.get.room.currentMap.." <G>| <R>HardCore") tfm.exec.setGameTime(183) playersAlive = playersInRoom isAlive = {} for name in pairs(mice) do isAlive[name] = true end end function eventNewPlayer(name) playersInRoom = playersInRoom + 1 mice[name] = {} end function eventPlayerLeft(name) playersInRoom = playersInRoom - 1 end function eventPlayerRespawn(name) playersAlive = playersAlive + 1 end function eventPlayerDied(name) if gameFinished then return end playersAlive = playersAlive - 1 isAlive[name] = false if playersAlive == 0 then endGame() end end function eventPlayerWon(name) playersAlive = playersAlive - 1 if not gameFinished then firstMouse = name gameFinished = true tfm.exec.setGameTime(20) showMapSelection() end end function showMapSelection() newMap = {} for i=1,5 do repeat newMap = math.random(#maps) if currentCat ~= i then break end until newMap ~= currentMap currentMap = newMap end ui.addTextArea(0, "<p align='center'><font size='24'>Escolha o próximo mapa</font></p>", firstMouse, 200, 80, 400, 260, nil, nil, 1, true) for i=1,5 do ui.addTextArea(i, "<a href='event:choose'><font size='16'>@"..maps[newMap].." | Dificuldade: "..i.." - "..difficulty.."</font></a>", firstMouse, 220, 90+40*i, 360, 28, nil, nil, 1, true) end end function closeMapSelection() if not firstMouse then return end for i=0,5 do ui.removeTextArea(i, firstMouse) end end function eventTextAreaCallback(id, name, cb) if id>0 and id<6 then currentCat = id nextMap = maps[id][newMap[id]] closeMapSelection() end end function eventLoop(t, tr) if not gameLoaded then return end if not gameStarted then if t > 3000 then gameStarted = true end return end if not gameFinished and tr <= 0 then endGame() elseif gameFinished and tr <= 0 then closeMapSelection() startGame() end end function randomMap() local cat = math.random(5) local map = math.random(#maps[cat]) return maps[cat][map] end main() function eventChatCommand(player, cm) if cm == "kill" then tfm.exec.killPlayer(player) end if cm == "color" then tfm.exec.setNameColor("Mousecrewz", 0xFF0000) end system.disableChatCommandDisplay("kill",true) system.disableChatCommandDisplay("color",true) |
Drgenius « Citoyen » 1413599160000
| 0 | ||
kittencutez a dit : Glad it worked :) |
Evilsantah 1413600600000
| | ||
[Modéré par Shamousey, raison : Requested.] Dernière modification le 1413600780000 |
Adorablebaby « Citoyen » 1413685080000
| 0 | ||
Is there a way to figure out the last person who changed the video? That would be mighty helpful, although I'm not sure if it's possible. Thanks! *bows* |
0 | ||
Adorablebaby a dit : This is not possible with the lua API. |
Mousecrewz « Citoyen » 1413919800000
| 0 | ||
mousecrewz a dit : could someone please do. I need the script. thank you |
Leafileaf « Citoyen » 1413985200000
| 0 | ||
Hinakagiyama a dit : Eh, just keep playing "#17" and it's done, ehe. |
Shamousey « Consul » 1413991800000
| 0 | ||
leafileaf a dit : Except that doesn't work in tribehouses. |
Wiktorrosik « Citoyen » 1414657020000
| 0 | ||
Hey, if anyone would help me to do such a thing as Run For Cheese? If so, please contact me by whispering in the game [*1]. Players who have registered will get access to the channel in which we'll talk about what we do. [*1] - Or a message on the forum. |
Renster « Citoyen » 1414799160000
| 0 | ||
is there a script that plays a map at 0.00 time? |
Itchyboy « Citoyen » 1414801560000
| 0 | ||
You could do this: --Replace @2324407 with whatever map you want. Make sure you keep it within the apostrophes though. map='@5283620' tfm.exec.disableAutoNewGame(true) tfm.exec.newGame(map) function eventNewGame() tfm.exec.setGameTime(0) end Dernière modification le 1414801740000 |
Scaryswagz 1414804920000
| | ||
[Modéré par Shamousey, raison : Spam.] |
Bolodefchoco « Sénateur » 1414843620000
| 0 | ||
Script of Deathmatch and Survivor? :/ |
Moshimoshiz « Citoyen » 1414970700000
| 0 | ||
Script for racing in tribe house with the following maps 146615 2616341 149853 276098 3702767 144677 440676 354616 220500 317779 186604 2347666 371076 1952851 226069 1321417 4508416 5543255 308711 197501 402239 |
Podoko « Citoyen » 1415019180000
| 0 | ||
Bolodefchoco a dit : Deathmatch : tfm.exec.disableAutoNewGame(true) tfm.exec.disableAutoShaman(true) players={} toDespawn={} maps={521833,401421,541917,541928,541936,541943,527935,559634,559644,888052,878047,885641,770600,770656,772172,891472,589736,589800,589708,900012,901062,754380,901337,901411,907870,910078,1190467,1252043,1124380,1016258,1252299,1255902,1256808,986790,1285380,1271249,1255944,1255983,1085344,1273114,1276664,1279258,1286824,1280135,1280342,1284861,1287556,1057753,1196679,1288489,1292983,1298164,1298521,1293189,1296949,1308378,1311136,1314419,1314982,1318248,1312411,1312589,1312845,1312933,1313969,1338762,1339474,1349878,1297154,644588,1351237,1354040,1354375,1362386,1283234,1370578,1306592,1360889,1362753,1408124,1407949,1407849,1343986,1408028,1441370,1443416,1389255,1427349,1450527,1424739,869836,1459902,1392993,1426457,1542824,1533474,1561467,1563534,1566991,1587241,1416119,1596270,1601580,1525751,1582146,1558167,1420943,1466487,1642575,1648013,1646094,1393097,1643446,1545219,1583484,1613092,1627981,1633374,1633277,1633251,1585138,1624034,1616785,1625916,1667582,1666996,1675013,1675316,1531316,1665413,1681719,1699880,1688696,623770,1727243,1531329,1683915,1689533,1738601,3756146,912118,3326933,3722005,3566478,1456622,1357994,1985670,1884075,1708065,1700322,2124484,3699046,2965313,4057963,4019126,3335202,2050466} function eventNewPlayer(name) for i,key in ipairs({32,40,83}) do tfm.exec.bindKeyboard(name,key,true,true) end players[name]={ timestamp=os.time(), offsets={x=2, y=10} } end function eventKeyboard(name,key,down,x,y) if (key==32 or key==40 or key==83) and not tfm.get.room.playerList[name].isDead and started then if players[name].timestamp < os.time()-1000 then local id if tfm.get.room.playerList[name].isFacingRight then id=tfm.exec.addShamanObject(17,x+players[name].offsets.x,y+players[name].offsets.y, 90, 5) else id=tfm.exec.addShamanObject(17,x+players[name].offsets.x,y+players[name].offsets.y, -90, -5) end players[name].timestamp=os.time() table.insert(toDespawn,{os.time(),id}) end end end function eventChatCommand(name,command) local arg={} for argument in command:gmatch("[^%s]+") do table.insert(arg,argument) end if arg[1]=="off" then if tonumber(arg[2]) and tonumber(arg[3]) then players[name].offsets.x=tonumber(arg[2]) players[name].offsets.y=tonumber(arg[3]) else players[name].offsets.x=2 players[name].offsets.y=10 end tfm.exec.chatMessage("Offsets changed to X:"..players[name].offsets.x.." Y:"..players[name].offsets.y,name) end end function eventNewGame() started=false end function eventLoop(time,remaining) if time >= 3000 and not started then started=true end if remaining<=0 then tfm.exec.newGame(maps[math.random(#maps)]) end for i,cannon in ipairs(toDespawn) do if cannon[1] <= os.time()-3000 then tfm.exec.removeObject(cannon[2]) table.remove(toDespawn,i) end end end function eventPlayerDied(name) local i=0 local n for pname,player in pairs(tfm.get.room.playerList) do if not player.isDead then i=i+1 n=pname end end if i==0 then tfm.exec.newGame(maps[math.random(#maps)]) elseif i==1 then tfm.exec.giveCheese(n) tfm.exec.playerVictory(n) tfm.exec.setGameTime(5) end end for name,player in pairs(tfm.get.room.playerList) do eventNewPlayer(name) end tfm.exec.newGame(maps[math.random(#maps)]) Survivor (no vampire map, it should work but I have no time to test it :3 ) : mapList = { "276534","279689","280120","280159","281431","281479","281492","281649","289932","289964","290388","290546","290725","290865","290971","290974","291399","291643","292592","292672","292678","293222","293487","295988","296033","299123","300404","302224","304198","304482","305748","305753","306106","306360","306382","307925","307930","311496","333020","390383","390386","390649","390657","391057","391643","391664","391738","392616","392646","393406","395246","397066","459284","464787","478116","479091","481676","489470","489829","490248","492283","495880","500312","521931","540495","573817","697561","741041","770675","787131","793117","797964","799141","802103","802958","802975","803074","811211","848697","852617","866256","908739","937383","958881","1026249","1277941","1388662","1414787","1463332","1492805","1514928","1515058","1519483","1522692","1525486","1528388","1533333","1533374","1539148","1543937","1545834","1659906","1661909","1754355","1794873","1794907","1812056","2360566","2408376","2526952","2723249","2732060","2842113","2931068","2939549","2964900","3061252","3067251","3107377","3146721","3175437","3295213","3322939","3349286","3400319","3419948","3473722","3480467","3540608","3549404","3550350","3579303","3584123","3584826","3587860","3620709","3670885","3685564","3699989","4329532","4543602","4552105","4661919","4679748","4688670","4705798","4819396","4842994","4844438","4850852","4873593","4876027","4907956","4911760","4934730"} alive = 0; tfm.exec.setGameTime(3) function main() tfm.exec.disableAutoNewGame(true) launchGame() end function launchGame() for name, info in pairs(tfm.get.room.playerList) do if not info.isDead then tfm.exec.setPlayerScore(name, 10, add) end end tfm.exec.setGameTime(1) tfm.exec.newGame(mapList[math.random(#mapList)]) end function eventNewGame() alive = 0 for _ in pairs(tfm.get.room.playerList) do alive = alive+1 end end function eventChatCommand(name, command) if command=='mort' then tfm.exec.killPlayer(name) end end function eventLoop(past, left) if left < 0 then launchGame() end end function eventPlayerDied(name) alive = alive-1 if alive==0 then launchGame() end end function eventPlayerWon(name) alive = alive-1 if alive==0 then launchGame() end end function eventPlayerLeft(name) alive = alive-1 if alive==0 then launchGame() end end main() moshimoshiz a dit : This should work : mapList = { "146615", "2616341", "149853", "276098", "3702767", "144677", "440676", "354616", "220500", "317779", "186604", "2347666", "371076", "1952851", "226069", "1321417", "4508416", "5543255", "308711", "197501", "402239" } round = 0; alive = 0; rank = 1; tfm.exec.setGameTime(3); function main() tfm.exec.disableAutoShaman(true) tfm.exec.disableAutoNewGame(true) tfm.exec.disableAutoScore(true) for name in pairs(tfm.get.room.playerList) do tfm.exec.setPlayerScore(name, 0) end launchGame() end function launchGame() tfm.exec.setGameTime(1) tfm.exec.newGame(mapList[math.random(#mapList)]) end function eventChatCommand(name, command) if command=='mort' then tfm.exec.killPlayer(name) end end function eventNewGame() tfm.exec.setGameTime(60) rank = 1; alive = 0; for name in pairs(tfm.get.room.playerList) do alive = alive+1 end round=round+1 if round > 10 then for name in pairs(tfm.get.room.playerList) do tfm.exec.setPlayerScore(name, 0) end round = 1 end tfm.exec.setUIShamanName("<N>Round : <CH>"..round.."/10") end function eventLoop(past, left) if left<0 then tfm.exec.newGame(mapList[math.random(#mapList)]) end end function eventPlayerLeft(name) alive = alive-1 if alive == 0 then tfm.exec.setGameTime(0) end end function eventPlayerWon(name) tfm.exec.setPlayerScore(name, rank==1 and 4 or rank==2 and 3 or rank==3 and 2 or 1, true) rank = rank+1 alive = alive-1 if alive == 0 then tfm.exec.setGameTime(0) end end function eventPlayerDied(name) alive = alive-1 if alive == 0 then tfm.exec.setGameTime(0) end end main() |