SHOW:
|
|
- or go back to the newest paste.
1 | -- Bot messagens v1.1 | |
2 | - | -- Créditos:Brenower y Danilowtf |
2 | + | -- Credits:Enginfener |
3 | -- Tables | |
4 | - | nomedobot="~Tribu"; |
4 | + | botadı="~Kabile"; |
5 | - | cmm="ES"; |
5 | + | cmm="TR"; |
6 | mensagens={ | |
7 | - | ["boasvindas"]="Hola, bienvenido a la casa de tribu!"; |
7 | + | ["merhaba"]="Merhaba,Kabile Evine HoşGeldiniz!"; |
8 | - | ["minijuegos"]="Todos ls minigames: EDITAR"; |
8 | + | ["minioyun"]="Tüm Minioyunlar: EDIT"; |
9 | - | ["reglas"]="Las reglas son: Editar"; |
9 | + | ["kurallar"]="Kurallar: EDIT"; |
10 | - | ["novedades"]="La tribu ahora tiene un bot #"; |
10 | + | ["haber"]="Kabilede Şimdi Bot var#"; |
11 | } | |
12 | -- Inicio del script | |
13 | - | print("<VP>[Bot messagens]:<V> inciado!") |
13 | + | print("<VP>[Bot messagens]:<V> Açık!") |
14 | - | ui.addTextArea(0,"<font color='#E88F4F'>> [".. cmm.."] [".. nomedobot.."] ".. mensagens.boasvindas.."</font>",NIL,6,368,478,30,0x1C3C41,0x1C3C41,0.9,true) |
14 | + | ui.addTextArea(0,"<font color='#E88F4F'>> [".. cmm.."] [".. nomedobot.."] ".. mensagens.merhaba.."</font>",NIL,6,368,478,30,0x1C3C41,0x1C3C41,0.9,true) |
15 | - | -- Nuevo jugador entra en casa de tribu |
15 | + | -- Yeni oyuncu kabile evine girdiğinde |
16 | function eventNewPlayer(player) | |
17 | - | ui.addTextArea(0,"<font color='#E88F4F'>> [".. cmm.."] [".. nomedobot.."] ".. mensagens.boasvindas.."</font>",NIL,6,368,478,30,0x1C3C41,0x1C3C41,0.9,true) |
17 | + | ui.addTextArea(0,"<font color='#E88F4F'>> [".. cmm.."] [".. nomedobot.."] ".. mensagens.merhaba.."</font>",NIL,6,368,478,30,0x1C3C41,0x1C3C41,0.9,true) |
18 | end | |
19 | -- Comandos | |
20 | function eventChatCommand(player,cm) | |
21 | - | if cm == "minijuegos" then |
21 | + | if cm == "minioyun" then |
22 | - | ui.updateTextArea(0,"<font color='#E88F4F'>> [".. cmm.."] [".. nomedobot.."] ".. mensagens.minijuegos.."</font>",player) |
22 | + | ui.updateTextArea(0,"<font color='#E88F4F'>> [".. cmm.."] [".. nomedobot.."] ".. mensagens.minioyun.."</font>",player) |
23 | end | |
24 | - | if cm == "reglas" then |
24 | + | if cm == "kurallar" then |
25 | - | ui.updateTextArea(0,"<font color='#E88F4F'>> [".. cmm.."] [".. nomedobot.."] ".. mensagens.reglas.."</font>",player) |
25 | + | ui.updateTextArea(0,"<font color='#E88F4F'>> [".. cmm.."] [".. nomedobot.."] ".. mensagens.kural.."</font>",player) |
26 | end | |
27 | - | if cm == "novedades" then |
27 | + | if cm == "haber" then |
28 | - | ui.updateTextArea(0,"<font color='#E88F4F'>> [".. cmm.."] [".. nomedobot.."] ".. mensagens.novedades.."</font>",player) |
28 | + | ui.updateTextArea(0,"<font color='#E88F4F'>> [".. cmm.."] [".. nomedobot.."] ".. mensagens.haber.."</font>",player) |
29 | end | |
30 | system.disableChatCommandDisplay(cm, true) | |
31 | end |