[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to "verify" your details, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.
 Entire forum ➜ MUSHclient ➜ Python ➜ Hey, look what I did!

Hey, look what I did!

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Chronoti   USA  (27 posts)  Bio
Date Thu 15 Jan 2004 06:37 AM (UTC)

Amended on Thu 15 Jan 2004 06:39 AM (UTC) by Chronoti

Message
this is pretty cool, and pointless, I guess it could keep you active for awhile in a mud... Put it in a timer for a mud, set it to what ya want...

import random
from time import localtime, strftime
number = int(random.randrange(1, 243))

myRandomness = "admire", "afk", "agree", "aha", "ahh", "ahm", "ahoy", "amuse", "annoy",

"applaud", "argh", "aww", "aye", "babble", "bah", "bark", "beam", "bearhug", "beg", "

belch", "bellow", "blink", "blush", "boggle", "brush", "boo", "bounce", "bow", "brb", "brow

", "cackle", "caress", "cartwheel", "catcall", "cheer", "chortle", "chuckle", "clap", "cold",

"comfort", "congratulations", "console", "coo", "cool", "cough", "cower", "cringe", "cry",

"cuddle", "curtsey", "dance", "deepkiss", "disagree", "discourage", "doff", "doh", "drool",

"duck", "dust", "eep", "eh", "embrace", "encourage", "envy", "erk", "evilgrin", "faint", "

fidget", "flex", "flip", "flirt", "flutter", "frown", "fume", "gan", "gasp", "gaze", "giggle", "

glare", "gnash", "good", "goodnight", "greet", "grimace", "grin", "groan", "grovel", "

growl", "grumble", "gulp", "ha", "handshake", "happysigh", "havoc", "hehe", "hello", "hi",

"highfive", "hiss", "hmm", "hmph", "hop", "hope", "hotkiss", "hug", "huh", "hum", "ignore",

"kiss", "kneel", "laugh", "lean", "lick", "listen", "moi", "moon", "mutter", "nag", "narrow", "

nibble", "no", "nod", "nudge", "ogle", "oh", "oi", "okay", "ooh", "oops", "ouch", "ow", "

pace", "panic", "pant", "pat", "patronize", "peck", "peer", "pet", "phew", "pinch", "plead",

"poke", "ponder", "pose", "pounce", "pout", "prod", "promise", "quake", "raise", "

raspberry", "roar", "rofl", "roll", "rub", "salute", "scoff", "scowl", "scratch", "scream", "

shiver", "shoo", "shriek", "shrug", "shudder", "shuffle", "sigh", "sing", "sit", "skip", "slap",

"slouch", "slump", "smack", "smile", "smirk", "smooch", "snap", "sneer", "sneeze", "snicker

", "sniff", "sniffle", "snigger", "snog", "snore", "snort", "snuggle", "sob", "sorry", "spit", "

splutter", "squeal", "stagger", "stammer", "stamp", "stand", "stare", "stomp", "stroke", "

strut", "stutter", "sulk", "sure", "surprise", "swagger", "sweat", "swoon", "tap", "tease", "

thank", "think", "thump", "tickle", "titter", "toast", "tongue", "tremble", "tsk", "tut", "

twiddle", "twinkle", "twirl", "urge", "wag", "wail", "wave", "whimper", "whistle", "why", "

wicked", "wiggle", "wince", "wink", "wistful", "woot", "wow", "yawn", "yo", "say I hope

this doesn't take long", "say I wonder what the stars feel..", "say I love cookies.."

timeNow = strftime("%i:%M:%S", localtime())
world.note("Time: " + str(timeNow) + ", Number: " + str(number) + ", Emote: " + myRandomness[number])
world.send(myRandomness[number])



#Btw, I did put alot of emotes in there, in fact, all for the game haha... but you can shorten that... and it displays the time, number of emote, and the emote word in a note, so you know when it went off etc...


Ah well, i know, pointless, but its cool. :)
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


8,088 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]