Script Name: Brainfeck Code Interpreter
Script Description: Using
Brainfeck language, returns a string. (Example: IntrBF('[.+]'): (a list of all characters in the ASCII chart)) This is for scripters, not server owners. If you wish to use this script in your script, feel free to, but please note my name.
Original Author: Curt
Core Version: 2.6.3
Code: http://nopaste.org/p/aweEUqp1kDue to SF's "bad word" filter, you may need to replace the "e" with a "u" on the Google search.
Here is all you can do:
+ Increments the value at the pointer
- Decrements the value at the pointer
> Increments the pointer
< Decrements the pointer
[ Start loop
] End loop; return to start loop if value at pointer is not 0
. Adds value at the pointer (as a character) to the resulting string
, Not included due to inability to type in the console
It helps to refer to
http://www.asciitable.com/Examples:
+++++[>++++++++++++++<-]++.+. will return "HI"
Basically this is Chr(5*14+2) + Chr((5*14+2) + 1); so thats a way to multiply instead of having 72 +s in a row.