×

Langue

Fermer
Atelier 801
  • Forums
  • Dev Tracker
  • Connexion
    • English Français
      Português do Brasil Español
      Türkçe Polski
      Magyar Română
      العربية Skandinavisk
      Nederlands Deutsch
      Bahasa Indonesia Русский
      中文 Filipino
      Lietuvių kalba 日本語
      Suomi עברית
      Italiano Česky
      Hrvatski Slovensky
      Български Latviešu
      Estonian
  • Langue
  • Forums
  • /
  • Transformice
  • /
  • Modules
  • /
  • Script Requests
« ‹ 18 / 160 › »
Script Requests
Fluffyshine
« Citoyen »
1382885760000
    • Fluffyshine#0000
    • Profil
    • Derniers messages
    • Tribu
#341
  0
Magicalorb a dit :
Kill the selected player every round (just like !ban command in bafflua)

Hi, I’ve made a banning system, you can check it out here.
a dit :
!ban bans a player
!unban unbans a player

Make sure to add your name to the rm table.

~~
Delimiax
« Citoyen »
1382892900000
    • Delimiax#0542
    • Profil
    • Derniers messages
    • Tribu
#342
  0
oh ok thx 4 dat noe i knoe ~ ~ :o
Orb
« Censeur »
1382894700000
    • Orb#0095
    • Profil
    • Derniers messages
    • Tribu
#343
  0
Fluffyshine a dit :
Hi, I’ve made a banning system, you can check it out here.
~~

Oh, that looks pretty! Thank you :)
Guilherme
« Citoyen »
1382912640000
    • Guilherme#0368
    • Profil
    • Derniers messages
    • Tribu
#344
  0
script a dit :

script disse:
function eventNewGame()
for playerName in pairs(tfm.get.room.playerList) do
tfm.exec.bindKeyboard(playerName,32,true)
end
end
function eventKeyboard(playerName,keyCode)
if keyCode==32 then
tfm.exec.killPlayer(playerName)

tfm.exec.addShamanObject(tfm.enum.shamanObject.iceCube,tfm.get.room.playerList[playerName].x,tfm.get.room.playerList[playerName].y)

end
end

I have a part of script already made.
But I want that just the shaman can to use the key 32 (space) and if it made this, all mice around, will to be transformer in ice cube. Just the mouse, the shaman will stay normal.
Jordy
« Consul »
1382917200000
    • Jordy#0015
    • Profil
    • Derniers messages
    • Tribu
#345
  0
script a dit :
function eventNewGame()
for playerName in pairs(tfm.get.room.playerList) do
tfm.exec.bindKeyboard(playerName,32,true)
end
end

function eventKeyboard(playerName,keyCode)
if keyCode==32 then
for name,player in pairs(tfm.get.room.playerList) do
if name.isShaman false then
tfm.exec.killPlayer(playerName)
tfm.exec.addShamanObject(tfm.enum.shamanObject.iceCube,player.x,player.y)
end
end
end
end

You can do it like this. (not tested)
Guilherme
« Citoyen »
1382922600000
    • Guilherme#0368
    • Profil
    • Derniers messages
    • Tribu
#346
  0
Jordynl a dit :
You can do it like this. (not tested)

faill... :'(

script a dit :


if name.isShaman false then


^^^^^^

Init Error : [string "transformice.lua"]:56: 'then' expected
Jordy
« Consul »
1382922960000
    • Jordy#0015
    • Profil
    • Derniers messages
    • Tribu
#347
  0
Guiprezotto a dit :
faill... :'(


^^^^^^

Init Error : [string "transformice.lua"]:56: 'then' expected

Ah.

script a dit :

function eventNewGame()
for playerName in pairs(tfm.get.room.playerList) do
tfm.exec.bindKeyboard(playerName,32,true)
end
end

function eventKeyboard(playerName,keyCode)
if keyCode==32 then
for name,player in pairs(tfm.get.room.playerList) do
if player.isShaman == false then
tfm.exec.killPlayer(playerName)
tfm.exec.addShamanObject(tfm.enum.shamanObject.iceCube,player.x,player.y)
end
end
end
end


There you go. ^^'
Basterfeild
« Citoyen »
1382978520000
    • Basterfeild#0000
    • Profil
    • Derniers messages
#348
  0
What is FFA / Deathmatch script?
Jordy
« Consul »
1382978640000
    • Jordy#0015
    • Profil
    • Derniers messages
    • Tribu
#349
  0
Basterfeild a dit :
What is FFA / Deathmatch script?

Topic-457951 Here !
Cincle
« Citoyen »
1382980200000
    • Cincle#0000
    • Profil
    • Derniers messages
    • Tribu
#350
  0
Hai :3 Can someone give me the script to mod can talk to room? (like if Tigrounette say: /mod Hello! And the message will be: (tigrounette): Hello! etc.) :3
Joaovictors
« Citoyen »
1382980680000
    • Joaovictors#0000
    • Profil
    • Derniers messages
    • Tribu
#351
  0
function eventChatCommand(p,c)
if c:sub(0,3) == "msg" then
tfm.exec.chatMessage("["..p.."] ".. c:sub(5))
end
end

but it can't be used in tribehouses
Safwanrockz
« Censeur »
1382981340000
    • Safwanrockz#0095
    • Profil
    • Derniers messages
    • Tribu
#352
  0
Cincle a dit :
Hai :3 Can someone give me the script to mod can talk to room? (like if Tigrounette say: /mod Hello! And the message will be: (tigrounette): Hello! etc.) :3

Sadly you can't can't use the chat message in tribehouses, but instead I made one to be visible using the text areas.
ModText a dit :

function eventChatCommand(name,cmd)
if cmd:sub(0,3)=="mod" then
ui.addTextArea(2, "<ROSE>• ["..name.."] "..cmd:sub(5), nil, 5, 377, nil, nil, "0x262626", "0x000000", 0.7, nil)
end
end
system.disableChatCommandDisplay("mod")

 
Cincle
« Citoyen »
1382983260000
    • Cincle#0000
    • Profil
    • Derniers messages
    • Tribu
#353
  0
Safwanrockz a dit :
Sadly you can't can't use the chat message in tribehouses, but instead I made one to be visible using the text areas.

 

Tank u :3
EDIT: And if I can ask - How to make arrow heart(script)? (I saw it from somewhere and I don't remember from where)
Safwanrockz
« Censeur »
1382983920000
    • Safwanrockz#0095
    • Profil
    • Derniers messages
    • Tribu
#354
  0
Cincle a dit :
Tank u :3
EDIT: And if I can ask - How to make arrow heart(script)? (I saw it from somewhere and I don't remember from where)

Pictionary yes I might make one but it requires lots of coordinates :x
Cincle
« Citoyen »
1382984040000
    • Cincle#0000
    • Profil
    • Derniers messages
    • Tribu
#355
  0
Safwanrockz a dit :
Pictionary yes I might make one but it requires lots of coordinates :x

awwwwwwwwwww D: I saw it once -_- BUT WHERE IS IT.
Shamousey
« Consul »
1382984160000
    • Shamousey#0095
    • Profil
    • Derniers messages
    • Tribu
#356
  0
Cincle a dit :
Tank u :3
EDIT: And if I can ask - How to make arrow heart(script)? (I saw it from somewhere and I don't remember from where)

Hakureimouse made this. https://paste.moepl.eu/view/e180dd54
Safwanrockz
« Censeur »
1382984520000
    • Safwanrockz#0095
    • Profil
    • Derniers messages
    • Tribu
#357
  1
Shamousey a dit :
Hakureimouse made this. https://paste.moepl.eu/view/e180dd54

Oh wow they used the heart equation lol.
I thought it's required to add coordinates manually :x
Doneky
« Citoyen »
1382986860000
    • Doneky#0000
    • Profil
    • Derniers messages
    • Tribu
#358
  0
I need of help:
a dit :
Lideres = {"Doneky","lixo","texte"}

function eventChatCommand(playerName,command)
if command == [
    ] then
    for name,player in pairs(Lideres) do
    ui.addPopup(0,0,player,playerName,300,100,200)
    end
    end
    end

Well! If you to use command !list will open a Popup but don't will is all the names of table Lideres.
Ever to be will the last name = texte.
Cincle
« Citoyen »
1382987640000
    • Cincle#0000
    • Profil
    • Derniers messages
    • Tribu
#359
  1
Shamousey a dit :
Hakureimouse made this. https://paste.moepl.eu/view/e180dd54

Thanks ^_^
Hophipmice
1382988240000
    • Hophipmice#0000
    • Profil
    • Derniers messages
    • Tribu
#360
[Modéré par Bolinboy, raison : requested]
  • Forums
  • /
  • Transformice
  • /
  • Modules
  • /
  • Script Requests
« ‹ 18 / 160 › »
© Atelier801 2018

Equipe Conditions Générales d'Utilisation Politique de Confidentialité Contact

Version 1.27