Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- funcion1 = {name="Sientate", numero="8", players={}};
- funcion2 = {name="Llora", numero="2", players={}};
- local funcion;
- if #funcion1.players < #funcion2.players then
- funcion = funcion1;
- elseif #funcion1.players > #funcion2.players then
- funcion = funcion2;
- elseif math.random() < 0.5 then
- funcion = funcion1;
- else
- funcion = funcion2;
- end
- function eventChatCommand(name, command)
- if command == "mensaje" then
- ui.addPopup (1,0,"<b>"..funcion.name.."</b> para tener meep", name, 200, 200, nil)
- end
- end
- function eventEmotePlayed(name, emote)
- if emote == funcion.numero then
- tfm.exec.giveMeep(name)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment