Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ELIZA HELP
- ===============================
- Eliza is a helpful chatbot that was written for fun by bitmsith. She runs completely separate outside of MCXnow and is no different a user than you or I. She is always watching chat and responds to the commands listed below.
- Eliza has flood-protection. So please do not overload her or she will be slow. Also keep in mind that there are czars for Eliza that are always watching and you can be banned from access if you abuse her.
- COMMANDS RESULTS
- HELP
- ===============================
- !help Displays the link you used to get here!
- !v21 What is new with version 2.1. Including new fastchat (or bold blue)
- requirements and a descriptions on how to make your referral link.
- !bux Description of the newly added MCXbux.
- !colours or !colors Explains the different "colors" of usernames in chat
- Exchange-Info
- ===============================
- !gox "trading pair" you can use all pairs listed on mtgox, case insensitive
- and separator can be / - or _
- default (if you type just !gox) is btc/usd
- More correct alias: !lies
- !btce + "trading pair" (ex: !btce ltc/usd ) - same as for !gox,
- also btc/usd is default
- !coinbase "trading_pair" same as for gox, btc/usd is default too
- !bitstamp whatever you type after !bitstamp you will get btc/usd
- !stamp shortcut of !bitstamp
- !btcc btcchina btc/cny ticker
- !campbx campbx btc/usd ticker
- !last will show btc/usd last price from bitstamp, btce, campbx
- and btc/cny last price from btcchina, bitpay
- !openxchg <currency> you will get usd/<currency> rate from openexchangerates.org
- if Eliza has cached rates not older than hour she will not
- fetch fresh rates because I got free account with limited
- queries/month, for same reason base currency can be only USD.
- Default is EUR.
- !bitpay <currency> Same as openxchg, default usd and also shows inverted price
- so you can be sure that buxbot is correct, or even spot
- (impossible) bug.
- Shorter alias: !pay
- !ding Displays link to MCXfee payout calculator.
- About possible market data lag:
- Eliza may introduce some lag, she gets fresh prices when she sees your command,
- or uses previously fetched prices if they are not older than 1 second.
- She polls for new messages once per second.
- In antiflood mode she has already prepared answer for you, waiting to be sent,
- so prices will lag.
- Messaging
- ===============================
- !msg "user name" "message" Eliza will store a message for the "User" you name. next time she see them in the
- message will be displayed next time she see them chatting, for all to see.
- Example: "!msg bitsmith Eliza Rocks!"
- !ignore+ "username" will add this user to your blacklist, you will not see !msg from him
- !ignore++ set ignore_all flag, nobody will be able to !msg you
- !ignore- "username" removes user from your blacklist
- !ignore-- clear ignore_all flag
- !ignore--- will purge your blacklist
- Important, READ BEFORE ASKING:
- If you have blacklist and you type !ignore++ and later you type !ignore--
- your blacklist will be same as before you typed !ignore++
- If you want to enable ALL users to !msg you then use !ignore---
- which will make your blacklist empty and reset ignore_all flag
- User Information
- ===============================
- !info "username" get info when user has been on chat last time:
- !seen "username" same as !info, I added it because someone asked me to do so
- !showban "username" get info on how much was spent on bans for!by the user:
- !lines get number of your chat lines since v2.1 update.
- Every 400 lines you chat earns you .5 mcxbux.
- Miscellaneous
- ===============================
- !time show time in various parts of world,cities are chosen arbitrary,
- you can suggest change here
- !cod let Eliza randomly pick your 'coin of the day'.
- This is feature is purely for the sake of fun.
- !charts This command can be used to bring up the mcxNOW charts
- !news shepshep7 maintains list of most important things said in chat,
- this command will show url of shepsheps news
- !poll See and vote on the latest McxNow poll
- !fb She will show the link to her facebook page.
- !realsolid Boobies!
- !dogecoin Such Breast! Much Woman! WOW!
- IMPORTANT: Eliza has boyfriend already, so if you try to impress/seduce her
- you will fail!!!!!!!
- !seen bf will display the last time her boyfriend was seen.
- Eliza also has browser based sister, script for
- ignoring users in chat, works on chrome and opera,
- should not be hard to adapt for FF. She will
- show url of this script if you type !censor
- Maxalt's Betting Odds!
- ===============================
- !odds To show available odds
- !odds football To get odds on specific sports listed in the !odds command
- or
- !odds nhl
- Czar Commands
- ===============================
- These commands will only work if you are a Czar. Please see list below for current Czars.
- !jail "username" this will make Eliza ignore commands from this user
- !free "username" obvious
- !help+ "pastebin url" If you edit help you can give her new url, if you do something
- wrong she keeps all previous urls, so it will be easy to fix
- !sleep "timeinseconds" this will make Eliza go to sleep for the time in seconds chosen.
- For example "!sleep 600" will make Eliza sleep for 10 minutes.
- If Eliza is backed up from commands prior to being put to sleep,
- she will continue to answer them, but will not accept any new
- commands until the time is up or she is woken by a czar.
- !wake this will make Eliza wake up and override the !sleep command
- !purge this will purge all messages from antiflood queue, use sparingly.
- This can throw away !msg if you type !purge after someone for whom
- she has message says something, but before she actually delivered it.
- (message is pulled from db, but waiting in antiflood queue)
- Conclusion: use when !sleep is not enough.
- List of czars:
- 6strings
- allants
- bitm0nster
- bitsmith
- bosanako
- bovis33
- compcentral
- duetschpire
- duffer1
- flexnuts
- gaich3uo
- hamster2
- hartar
- jhonk
- junglist
- kev7112001
- krusher33
- lazlopanaflex70
- lerkun
- longandshort
- marple
- marple2
- maxalt
- necom
- onetake
- paulscreen
- pjheinz
- realsolid
- -redacted-
- redphlegm
- serversides
- shepshep7
- supertramp
- trudix
- vipah
- bitcoininformation
- julesxx (http://i.imgur.com/UpSJS.jpg) :D
- kiflica86 (aka kifster)
- haxalot2012
- ************************************* For über g++ks **********************************************
- Eliza's antiflood is very strong, here is algorithm:
- -It's quick and dirty, so please don't laugh too much.
- -Sending thread is daemon one, thus while(true)
- -admins and mortals are List<ChatPOJO> containing queued answers
- =============================================================================================
- public void run() {
- ChatPOJO msg;
- long last = System.currentTimeMillis();
- long step=1024, backoff=1024;
- while(true) {
- try {
- while(mortals.isEmpty() && admins.isEmpty()) {
- wait(step);
- backoff -= step/8;
- backoff = Math.max(step, backoff);
- }
- } catch(InterruptedException e) {}
- while(!mortals.isEmpty() && admins.isEmpty()) {
- if(last+step+backoff*4 > System.currentTimeMillis()) {
- backoff += step*2;
- backoff = Math.min(backoff, 65536);
- }
- if(last+step+backoff > System.currentTimeMillis()) {
- try {
- wait(last+step+backoff-System.currentTimeMillis());
- } catch(InterruptedException e) {}
- } else {
- msg = mortals.remove();
- realSend(msg.chat, msg.txt);
- last = System.currentTimeMillis();
- }
- }
- while(!admins.isEmpty()) {
- msg = admins.remove();
- realSend(msg.chat, msg.txt);
- last = System.currentTimeMillis();
- try {
- wait(last+step-System.currentTimeMillis());
- } catch(InterruptedException e) {}
- }
- } //while(true)
- } //run()
- =============================================================================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement