Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Numa/*numa is property of King0fguests(Transformice.com)
- tl;dr
- + Added some 'things' to help Numa interpret usernames/playernames (-playerName-).
- - Removed the third minigame due to errors.
- * Some numbers have been replaced with algebraic x's. This means it doesn't have to be specific, or can be changed depending on the circumstance.
- * Some messages have algebraic letters in them (apart from 'x'). This means that the message has a specific value to help Numa interpret it.
- * I've put some HTML here and there to help with the debugging or to get a kind of 'structure', but this will most likely change in the future if compatibility isn't too great.
- _______________________________________________
- UPDATE #13 - 8.12.15
- _______________________________________________
- onload: function Awake
- spawn MapTribe
- {
- use strict
- var x = 15 * x; // Assign 15 to ..
- debugger;
- document.getElementbyId("Numa").innerHTML = x;
- myTransform = transform; //cache transform data for easy access/preformance
- }
- if playerName.exec.chatMessage("What is the time?","What time is it?";b
- ="document.getElementById('data').innerHTML = Date()">
- var x = 5; // I will be executed
- // var x = 6; I will NOT be executed
- { (form.id.value=="Numa")
- <form id="form0" action="Idle">
- <form id="form1" action="Dance">
- <form id="form2" action="Laugh">
- <form id="form3" action="Cry">
- <form id="form4" action="Kiss">
- <form id="form5" action="Angry">
- <form id="form6" action="Clap">
- <form id="form7" action="Sleep">
- <form id="form8" action="Facepaw">
- <form id="form9" action="Sit">
- <form id="form10"action="Confetti">
- <form id="form11"action="Duck">
- if(GameObject."King0fguests" <input type='action' name='dance' /> > "Dance"){function submitform
- }
- if(GameObject."King0fguests" <input type='action' name='laugh' /> > "Laugh"){function submitform
- }
- if(GameObject."King0fguests" <input type='action' name='cry' /> > "Cry"){function submitform
- }
- if(GameObject."King0fguests" <input type='action' name='kiss' /> > "Kiss"){function submitform
- }
- if(GameObject."King0fguests" <input type='action' name='angry' /> > "Angry"){function submitform
- }
- if(GameObject."King0fguests" <input type='action' name='clap' /> > "Clap"){function submitform
- }
- if(GameObject."King0fguests" <input type='action' name='sleep' /> > "Sleep"){function submitform
- }
- if(GameObject."King0fguests" <input type='action' name='facepaw' /> > "Facepaw"){function submitform
- }
- if(GameObject."King0fguests" <input type='action' name='sit' /> > "Sit")function submitform
- }
- if(GameObject."King0fguests" <input type='action' name='confetti' /> > "Confetti"){function submitform
- }
- if(GameObject."King0fguests" <input type='action' name='duck' /> > "Duck"){function submitform
- }
- else if(>Idle){
- function Start()
- {
- target = GameObject.FindWithTag("..playerName..").transform; //target the player
- }
- function Update () {
- //rotate to look at the player
- var distance = Vector3.Distance(myTransform.position, target.position
- function Update () {
- //move towards the player* moveSpeed * sp3.deltaTime;
- if (distance<0=stop) {
- <form name="walljump">
- var distance = Vector3.Distance(myTransform.position, wall.position);
- if (distance<=range2 && distance>=range){
- function {
- howMany(jump) {
- var numberSelected = 6;
- for (var i = 0; i < wall.options.length; 0.5) {
- if (jump.options[i].selected) {
- 6 "jump" per 0.5;
- return 1;
- then "Idle".
- }
- {
- -- test zone
- tfm.exec.newGame("xxx") - depends on Llam Squad tribe house
- -- test zone
- coordX = 25
- id = 6301
- function tfm.exec.chatMessage(message)
- if id == 6301 then
- ui.addTextArea(6301, message, nil, 150, 25, 500, 20, 0x1C3C41, 0x1C3C41, 1.2)
- id = 6302
- elseif id == 6302 then
- ui.addTextArea(6302, message, nil, 150, 45, 500, 20, 0x1C3C41, 0x1C3C41, 1.2)
- id = 6303
- elseif id == 6303 then
- ui.addTextArea(6303, message, nil, 150, 65, 500, 20, 0x1C3C41, 0x1C3C41, 1.2)
- id = 6304
- elseif id == 6304 then
- ui.updateTextArea(6301, message, nil)
- id = 6305
- elseif id == 6305 then
- ui.updateTextArea(6302, message, nil)
- id = 6306
- elseif id == 6306 then
- ui.updateTextArea(6303, message, nil)
- id = 6304
- end
- end
- !FONTS ARE FREE TO CHANGE. #FF00EA = PINK!
- function eventPlayerGetCheese(playerName)
- tfm.exec.chatMessage("<font color='#FF00EA'>"..playerName.."</font> got sum cheez xd")
- end
- function eventEmotePlayed(playerName, idEmote)
- tfm.exec.chatMessage("<font color='#FF00EA'>"..playerName.."</font> did a thing. (id: "..idEmote..").")
- end
- function eventNewGame()
- if id ~= 6301 then
- ui.removeTextArea(6301)
- ui.removeTextArea(6302)
- ui.removeTextArea(6303)
- id = 6301
- end
- tfm.exec.chatMessage("Hello every-mouse.")
- end
- >>react
- //reco.phrase;
- player.exec.chatMessage("Hello","Hi","Hola","Hey");b
- tfm.exec.chatMessage("Hello ..playerName..")
- if playerName = "Brookfantasy","Xxnightpelt"
- tfm.exec.chatMessage ~= "nickname" = "..bby.."
- else tfm.exec.chatMessage("I love everybody. Except Iscamppl123.")
- for (min = x-15; sec = x) tfm.exec.chatMessage("Let's play a game!","Who wants to play a game?"
- if player.exec.chatMessage("I would like to play!");b
- exec.var"Minigame"
- if exec.var"Minigame"
- tfm.exec.chatMessage("Is everyone ready?")
- if player.exec.chatMessage("Yes!");b
- tfm.exec.chatMessage var "Minigame"
- else wait (min = x) then execute task.
- vary.execute = "A","B","C".
- A = "Sitting game"
- B = "Confetti game"
- C = "Tag"
- if "A" select
- tfm.exec.chatMessage("<font color='#FF00EA'>"..playerName.."</font> got +1 point. (id: "emote8").")
- count "emote8" each playerName (x-2 min)
- end
- select Winner = playerName most "+1"
- tfm.exec.chatMessage("And the winner is...")
- tfm.exec.chatMessage("..playerName...")
- if "B" select
- tfm.exec.chatMessage("<font color='#FF00EA'>"..playerName.."</font> got +1 point. (id: "emote8").")
- count "emote8" each playerName (x-2 min)
- end
- select Winner = playerName most "+1"
- tfm.exec.chatMessage("And the winner is...")
- tfm.exec.chatMessage("..playerName...")
- //reco.playerName;
- how=
- If encounter, save
- elsetfm.exec.chatMessage("Nice to meet you, playerName.");a
- "memorize"/recog
- <form method="SCAN > playerName">
- <input type='text' placeholder='xx.xxx.xxx.xx' name='Ip'>
- </form>
- jsQuery(function($){
- ("input").mask("9?99.9?99.9?99.9?99", {placeholder:"xxx"});
- });
- ()
- <form name="freeroam" action="handle-data">
- var step;
- for (step = 5-10; step < x; step++) {
- // Runs x times, with values of step 5 through 4.
- console.log('Walking east one step');
- var step;
- for (step = 5-10; step < 5; step++) {
- // Runs x ti // This will not cause an error.
- myFunction();
- function myFunction() {
- "use strict";
- }
- mes, with values of step 5 through 4.
- console.log('Walking west one step');
- }
- x = 2.10;
- }
- if(GameObject."King0fguests" offline
- tfm.disconnect
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment