Is it alright if someone could sticky this
Well, it would help a lot of people and give Agent Moose and some other people a rest!
Well, I see some people not getting codes to work. Sometimes it's something else. Sometimes it is a missing
escape key. Look for "(/\[spoiler\](.*)[\/spoiler\]/i)" in this:
<script>
var b = document.getElementsByTagName("div");
//Created by Agent Moose (smcodes.smfforfree3.com)
for(x=0;x<b.length;x++){
if(b[x].className=="post" && b[x].innerHTML.match\(/\[spoiler\](.*)[\/spoiler\]/i)){
b[x].innerHTML = b[x].innerHTML.replace("[spoiler]" + RegExp.$1 + "[/spoiler]","<div><div><a href='javascript:void(0)' onclick='$(this).parent().next().toggle()'>(Click to Show/Hide Spoiler)</a></div><div style='display:none' id='spoiler'>" + RegExp.$1 + "</div></div>");
};};
</script>
You see how \[spoiler\] is not [spoiler]? Here is where it starts.
You could go to "add a tab v1" and look at it. If you wanted to add a new tab BBC/HTML, you'd have to do this
links[0] = ["LINKS NAME","URL FOR LINK"]
links[0] = ["BBC\/HTML","http://www.something.com/bbchtml.htm"]
(if you did not put a backslash it would try dividing BBC by HTML and last time I checked acronyms(words nevertheless) can't be divided by each other,
unless they were set integers/variables)
Many programming/scripting languages require escape characters such as JavaScript, PHP, and Java. However, remember that if you want to divide something, such as...
int year = 365
int month = year/12
...that you don't need "\/".
Currently here are symbols that require escape characters(unless you were to actually use them as operators)
[
]
+
-
*
/
=
'
"
%
! (Maybe not, but I think it is because it is also an operator)
<
>