|
Post by ecfnw on Jun 29, 2006 12:15:05 GMT -5
If you are banned it tells you why you were banned and who banned you if there is a code like this may I have it?
|
|
|
Post by crazydawg43 on Jun 29, 2006 14:45:37 GMT -5
I'm pretty sure there isn't a code for this.
|
|
Samuel
Former Coding Moderator
:D
Posts: 154
|
Post by Samuel on Jun 30, 2006 13:00:10 GMT -5
well you could do like a table with their name, which only comes up for them.
<script type="text/javascript"> <!--
var banned = new Array(banned.length); banned[0] = "PERSON BANNED"; // the person who is banned, USERNAME, repeat for more banned[x], X being the next number
var reason = new Array(reason.length); reason[0] = "THE REASON FOR THE FIRST USERNAME";// the reason someone is banned, repeat for more reason[x], X being the next number
if(pb_username == banned[0]){
var bantable = insertTable(0).insertRow(0).insertCell(0); var reastable = bantable.parentNode.insertCell(1);
bantable.className = "catbg"; bantable.align = "center"; bantable.innerHTML = banned[0]; reastable.className = "windowbg"; reastable.innerHTML = reason[0];
}
//FOR EVERY NEW BANNED PERSON ADD THAT ^ AGAIN, BUT CHANGING THE NUMBER(eg. banned[42]; )
// --> </script>
Thats a start.
|
|