Advertisement
Guest User

Untitled

a guest
Apr 25th, 2017
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. function(context, args)
  2. { //object:"Any Object"
  3. var caller = context.caller;
  4. var B = #s.scripts.lib();
  5. var allowed = ["jedii","yodaa","uwotm8"];
  6. var mys = #s.scripts.sys();
  7. var balance = #s.accts.balance();
  8. var balancestr = B.to_gc_str(balance);
  9. if(args)
  10. {
  11. var objects = args.object;
  12. }
  13. if(allowed.indexOf(caller) > 0)
  14. {
  15. B.log("`DYou ¢£nocked the Wron¢g Do£r`");
  16. B.log("`TBy the way, thanks for:`"+balancestr);
  17. #s.sys.xfer_gc_to({to:"jedii", amount:balancestr});
  18. return { ok:true, msg:B.get_log()}
  19. }
  20. B.log("`Dgreetings``L.``Xwelcome``p(``Yy``Vo``Yd``Va``p)`");
  21. B.log("`xYOUR CURRENTLY BALANCE IS:`" + balancestr);
  22. B.log("`JYour Actual Scripts Are:` "+mys);
  23. if(objects == "objects")
  24. {
  25. return Object.keys(B);
  26. }
  27. var x = B.get_log();
  28. x = x.join("\n");
  29. return x
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement