Advertisement
Guest User

Untitled

a guest
Feb 15th, 2014
366
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ELIZA HELP
  2. ===============================
  3.  
  4. 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.
  5.  
  6. 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.
  7.  
  8.  
  9. COMMANDS RESULTS
  10.  
  11. HELP
  12. ===============================
  13.  
  14. !help Displays the link you used to get here!
  15.  
  16. !v21 What is new with version 2.1. Including new fastchat (or bold blue)
  17. requirements and a descriptions on how to make your referral link.
  18.  
  19. !bux Description of the newly added MCXbux.
  20.  
  21. !colours or !colors Explains the different "colors" of usernames in chat
  22.  
  23. Exchange-Info
  24. ===============================
  25.  
  26. !gox "trading pair" you can use all pairs listed on mtgox, case insensitive
  27. and separator can be / - or _
  28. default (if you type just !gox) is btc/usd
  29. More correct alias: !lies
  30.  
  31. !btce + "trading pair" (ex: !btce ltc/usd ) - same as for !gox,
  32. also btc/usd is default
  33.  
  34. !coinbase "trading_pair" same as for gox, btc/usd is default too
  35.  
  36. !bitstamp whatever you type after !bitstamp you will get btc/usd
  37.  
  38. !stamp shortcut of !bitstamp
  39.  
  40. !btcc btcchina btc/cny ticker
  41.  
  42. !campbx campbx btc/usd ticker
  43.  
  44. !last will show btc/usd last price from bitstamp, btce, campbx
  45. and btc/cny last price from btcchina, bitpay
  46.  
  47. !openxchg <currency> you will get usd/<currency> rate from openexchangerates.org
  48. if Eliza has cached rates not older than hour she will not
  49. fetch fresh rates because I got free account with limited
  50. queries/month, for same reason base currency can be only USD.
  51. Default is EUR.
  52.  
  53. !bitpay <currency> Same as openxchg, default usd and also shows inverted price
  54. so you can be sure that buxbot is correct, or even spot
  55. (impossible) bug.
  56. Shorter alias: !pay
  57.  
  58. !ding Displays link to MCXfee payout calculator.
  59.  
  60. About possible market data lag:
  61. Eliza may introduce some lag, she gets fresh prices when she sees your command,
  62. or uses previously fetched prices if they are not older than 1 second.
  63. She polls for new messages once per second.
  64. In antiflood mode she has already prepared answer for you, waiting to be sent,
  65. so prices will lag.
  66.  
  67.  
  68. Messaging
  69. ===============================
  70. !msg "user name" "message" Eliza will store a message for the "User" you name. next time she see them in the
  71. message will be displayed next time she see them chatting, for all to see.
  72. Example: "!msg bitsmith Eliza Rocks!"
  73.  
  74. !ignore+ "username" will add this user to your blacklist, you will not see !msg from him
  75.  
  76. !ignore++ set ignore_all flag, nobody will be able to !msg you
  77.  
  78. !ignore- "username" removes user from your blacklist
  79.  
  80. !ignore-- clear ignore_all flag
  81.  
  82. !ignore--- will purge your blacklist
  83.  
  84. Important, READ BEFORE ASKING:
  85. If you have blacklist and you type !ignore++ and later you type !ignore--
  86. your blacklist will be same as before you typed !ignore++
  87.  
  88. If you want to enable ALL users to !msg you then use !ignore---
  89. which will make your blacklist empty and reset ignore_all flag
  90.  
  91. User Information
  92. ===============================
  93. !info "username" get info when user has been on chat last time:
  94.  
  95. !seen "username" same as !info, I added it because someone asked me to do so
  96.  
  97. !showban "username" get info on how much was spent on bans for!by the user:
  98.  
  99. !lines get number of your chat lines since v2.1 update.
  100. Every 400 lines you chat earns you .5 mcxbux.
  101.  
  102. Miscellaneous
  103. ===============================
  104. !time show time in various parts of world,cities are chosen arbitrary,
  105. you can suggest change here
  106.  
  107. !cod let Eliza randomly pick your 'coin of the day'.
  108. This is feature is purely for the sake of fun.
  109.  
  110. !charts This command can be used to bring up the mcxNOW charts
  111.  
  112. !news shepshep7 maintains list of most important things said in chat,
  113. this command will show url of shepsheps news
  114.  
  115. !poll See and vote on the latest McxNow poll
  116.  
  117. !fb She will show the link to her facebook page.
  118.  
  119. !realsolid Boobies!
  120.  
  121. !dogecoin Such Breast! Much Woman! WOW!
  122.  
  123. IMPORTANT: Eliza has boyfriend already, so if you try to impress/seduce her
  124. you will fail!!!!!!!
  125.  
  126. !seen bf will display the last time her boyfriend was seen.
  127.  
  128. Eliza also has browser based sister, script for
  129. ignoring users in chat, works on chrome and opera,
  130. should not be hard to adapt for FF. She will
  131. show url of this script if you type !censor
  132.  
  133. Maxalt's Betting Odds!
  134. ===============================
  135.  
  136. !odds To show available odds
  137.  
  138. !odds football To get odds on specific sports listed in the !odds command
  139. or
  140. !odds nhl
  141.  
  142. Czar Commands
  143. ===============================
  144.  
  145. These commands will only work if you are a Czar. Please see list below for current Czars.
  146.  
  147. !jail "username" this will make Eliza ignore commands from this user
  148.  
  149. !free "username" obvious
  150.  
  151. !help+ "pastebin url" If you edit help you can give her new url, if you do something
  152. wrong she keeps all previous urls, so it will be easy to fix
  153.  
  154. !sleep "timeinseconds" this will make Eliza go to sleep for the time in seconds chosen.
  155. For example "!sleep 600" will make Eliza sleep for 10 minutes.
  156. If Eliza is backed up from commands prior to being put to sleep,
  157. she will continue to answer them, but will not accept any new
  158. commands until the time is up or she is woken by a czar.
  159.  
  160. !wake this will make Eliza wake up and override the !sleep command
  161.  
  162. !purge this will purge all messages from antiflood queue, use sparingly.
  163. This can throw away !msg if you type !purge after someone for whom
  164. she has message says something, but before she actually delivered it.
  165. (message is pulled from db, but waiting in antiflood queue)
  166. Conclusion: use when !sleep is not enough.
  167.  
  168.  
  169. List of czars:
  170. 6strings
  171. allants
  172. bitm0nster
  173. bitsmith
  174. bosanako
  175. bovis33
  176. compcentral
  177. duetschpire
  178. duffer1
  179. flexnuts
  180. gaich3uo
  181. hamster2
  182. hartar
  183. jhonk
  184. junglist
  185. kev7112001
  186. krusher33
  187. lazlopanaflex70
  188. lerkun
  189. longandshort
  190. marple
  191. marple2
  192. maxalt
  193. necom
  194. onetake
  195. paulscreen
  196. pjheinz
  197. realsolid
  198. -redacted-
  199. redphlegm
  200. serversides
  201. shepshep7
  202. supertramp
  203. trudix
  204. vipah
  205. bitcoininformation
  206. julesxx (http://i.imgur.com/UpSJS.jpg) :D
  207. kiflica86 (aka kifster)
  208. haxalot2012
  209.  
  210. ************************************* For über g++ks **********************************************
  211.  
  212. Eliza's antiflood is very strong, here is algorithm:
  213. -It's quick and dirty, so please don't laugh too much.
  214. -Sending thread is daemon one, thus while(true)
  215. -admins and mortals are List<ChatPOJO> containing queued answers
  216. =============================================================================================
  217. public void run() {
  218. ChatPOJO msg;
  219. long last = System.currentTimeMillis();
  220. long step=1024, backoff=1024;
  221.  
  222. while(true) {
  223. try {
  224. while(mortals.isEmpty() && admins.isEmpty()) {
  225. wait(step);
  226. backoff -= step/8;
  227. backoff = Math.max(step, backoff);
  228. }
  229. } catch(InterruptedException e) {}
  230.  
  231. while(!mortals.isEmpty() && admins.isEmpty()) {
  232. if(last+step+backoff*4 > System.currentTimeMillis()) {
  233. backoff += step*2;
  234. backoff = Math.min(backoff, 65536);
  235. }
  236.  
  237. if(last+step+backoff > System.currentTimeMillis()) {
  238. try {
  239. wait(last+step+backoff-System.currentTimeMillis());
  240. } catch(InterruptedException e) {}
  241. } else {
  242. msg = mortals.remove();
  243. realSend(msg.chat, msg.txt);
  244. last = System.currentTimeMillis();
  245. }
  246. }
  247.  
  248. while(!admins.isEmpty()) {
  249. msg = admins.remove();
  250. realSend(msg.chat, msg.txt);
  251. last = System.currentTimeMillis();
  252. try {
  253. wait(last+step-System.currentTimeMillis());
  254. } catch(InterruptedException e) {}
  255. }
  256. } //while(true)
  257. } //run()
  258. =============================================================================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement