Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- oooooooooooooo shit!, its only some mother fucking rainbow text up in this bitch!
- this is what you got to do, whiteboi!
- ya open ya pasre.class.php, and find this:
- $string = preg_replace_callback('`\[code\](.+?)\[/code\]`is', array(&$this, 'code_callback'), $string);
- this is worth loads, m8 i could even get a new watch with this sucker, shiiiiiiiiiiit!
- then, if we add this under it, then shit turns into cash yo...
- $string = preg_replace_callback('`\[rainbow\](.+?)\[/rainbow\]`is', array(&$this, 'rainbowcolorcall'), $string);
- now that im shitting cash, we need to add some bitchs to it,
- find this:
- function code_callback($matches) {
- under that function, you add this function
- function rainbowcolorcall($matches1) {
- foreach ($matches1 as &$matches) {
- $arr1 = str_split($matches);
- $colours = array("FF0000","FF9900","FFff00","66ff00","00ff00","00ff99","00ffff","0099ff","0000ff","6600ff");
- $return = "";
- $d = 0;
- foreach ($arr1 as &$value) {
- if($d == count($colours)){
- $d = $d-count($colours);
- }
- $return .= "<FONT COLOR='#$colours[$d]'>$value</FONT>";
- $d++;
- }
- }
- return $return;
- }
- then, you having a dream within a dream about a nigga stealing your bike, while having shits that was so cash.....
- (i got bored, something different then my normal dull layout)
Advertisement
Add Comment
Please, Sign In to add comment