Mostly they tell us what they think we want to hear, and that placates us. They all tell lies or, at best, they don’t tell us the complete truth, which if you ask my mom is the same thing as lying. Nearly every word spoken by a public official is available for scrutiny, and we can all see how many lies and of what variety each of them tells. Not many people would be watching, and they were mostly talking to their constituents. Back in the day, before the internet, it was pretty easy for politicians to lie.
Most of them are pretty good at telling lies. They cover their own rear ends with lies so that the truth doesn’t come up and bite them in the … oops!, so the truth doesn’t sneak up on them and present itself for inspection by the voting public. They tell us what we want to hear so they can maintain power. They tell us what we want to hear so they can gain power. From that moment until my parents finally confronted me at bedtime that night, I lived in dread, knowing that they knew, and that my lie would catch up with me. Let’s just say, my deception did not go well. I went directly to the little sink in my classroom and used those brown paper towels to clean up. I played tackle football with my friends, and I got mud on the knees of my jeans. Mom told me, for some inexplicable reason, not to go outside to play during recess one day when I was in third grade. Then I foolishly tried to cover up my lie and hide it from her all-seeing eyes. My mother told me not to do something, which I did anyway.
#If statements mudlet mac#
“Tell me lies, tell me sweet little lies…” - Fleetwood Mac with intent to deceive b) to make such statements habitually 2 to give a false impression deceive one ” - Webster’s New World Dictionary The same goes for IF statements/functions etc.“Lie: 1 a) to make a statement that one knows is false, esp. If you wish a variable to be LOCAL to the script or loop you create it in, then you must create the variable this way:īe aware that if you create it inside a for loop, it will not exist outside the loop.
#If statements mudlet how to#
The value will not persist between sessions though - if you want to learn how to save values between sessions, ask that question separately (and check out the remember() function. If you create a variable as I did above, then it is available globally to any script.
I apologise if I explained what you already knew. NOW that I am sure you're on the right page, I'll answer your question. This is pretty neat - it lets you contain/compartmentalise scripts, making them easy to share and resistant to being interfered with by other scripts given to you by other people. Now you can see that you can have a single table with multiple TYPES inside - in this case, simple strings (text data), a true/false, and a function. You'll get the same result - because by default, we can reference individual keys in the global table without having to specify the _G (however, sometimes it can be really useful to do so, which is why I mentioned it). You are just adding another entry into the global table, which is called _G The value can be a string, integer, function, boolean, another table, or probably one of a few other types that have slipped my mind, or I just don't know about.Įven when you create a "simple" variable, that is to say: When you create a function, for example, the function name is the KEY in some table, and the function itself is the value. A table is a key = value structure (in cmud, a database variable, or record variable). Hope this gives you something of a start!Įverything in lua is a table. Create a function to return a gsubbed string, and then do send("say ". You could develop it from there, that's by no means the most efficient way or the most pared-down script you can do.įor the opposite, in turning out the language, you could do the same thing, only in reverse. I'm sure there are other ways you can do that bit, but that's the quick-and-dirty, no-research-done, no-questions-asked kind of thing I'd do. Local translation = translate_d(matches)Ĭecho("(yellow) - replace () with html brackets here - ". Here, you would need to create a check that runs a string.findpattern on matches, and if it doesn't detect a word of your language, to stop running the trigger. Then what you do is trigger say to something like: Local translation = arg:gsub("vir", "hello"):gsub("wer", "world") One is a gsub for accepting the language as a trigger, that would look like this: What I would do if I were to take a first cut at this is create two different subroutines. There are a couple of ways you can do this.