Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

codes

Name: Anonymous 2009-02-17 9:09

what are some of the "codes" for 4chan, such as noko, sage, and #fortune

Name: Anonymous 2009-02-17 12:41

You've basically mentioned them all.

Name: Anonymous 2009-02-17 20:27



 BBCODE

Name: Anonymous 2009-02-17 22:33

BBCODE of course, is mostly just for Shiichan. (software that runs the textboards) Some of the imageboards do allow for "[spoiler][/spoiler]" tags though. (To hide the spoiling of the ending of a game, movie, anime, etc.)

Oh also on /tg/ - Traditional Games (http://zip.4chan.org/tg/imgboard.html) there is a roll dice function, similar to #fortune. I'm not sure how exactly it works, though. There was a sticky detailing how to use it, but that's long since been taken down.

That's about all I know there.

For BBcode, refer to this thread: http://dis.4chan.org/read/lounge/1210194860/4

Name: Anonymous 2009-02-20 3:49

Here's how the dice thing is implemented.

    if(DICE_ROLL==1) {
    if ($email) {
        if (preg_match("/dice[ +](\\d+)[ d+](\\d+)(([ +-]+?)(-?\\d+))?/", $email, $match)) {
            $dicetxt = "rolled ";
            $dicenum = min(25, $match[1]);
            $diceside = $match[2];
            $diceaddexpr = $match[3];
            $dicesign = $match[4];
            $diceadd = intval($match[5]);
           
            for ($i = 0; $i < $dicenum; $i++) {
                $dicerand = mt_rand(1, $diceside);
                if ($i) $dicetxt .= ", ";
                $dicetxt .= $dicerand;
                $dicesum += $dicerand;
            }
           
            if ($diceaddexpr) {
                if (strpos($dicesign, "-") > 0) $diceadd *= -1;
                $dicetxt .= ($diceadd >= 0 ? " + " : " - ").abs($diceadd);
                $dicesum += $diceadd;
            }
           
            $dicetxt .= " = $dicesum<br /><br />";
            $com = "<b>$dicetxt</b>".$com;
        }
    }

Name: butts 2010-06-12 1:30

   if(DICE_ROLL==1) {
    if ($email) {
        if (preg_match("/dice[ +](\\d+)[ d+](\\d+)(([ +-]+?)(-?\\d+))?/", $email, $match)) {
            $dicetxt = "rolled ";
            $dicenum = min(25, $match[1]);
            $diceside = $match[2];
            $diceaddexpr = $match[3];
            $dicesign = $match[4];
            $diceadd = intval($match[5]);
          
            for ($i = 0; $i < $dicenum; $i++) {
                $dicerand = mt_rand(1, $diceside);
                if ($i) $dicetxt .= ", ";
                $dicetxt .= $dicerand;
                $dicesum += $dicerand;
            }
          
            if ($diceaddexpr) {
                if (strpos($dicesign, "-") > 0) $diceadd *= -1;
                $dicetxt .= ($diceadd >= 0 ? " + " : " - ").abs($diceadd);
                $dicesum += $diceadd;
            }
          
            $dicetxt .= " = $dicesum<br /><br />";
            $com = "<b>$dicetxt</b>".$com;
        }
    }

Name: r4dsi 2010-06-12 4:31

Name: r4dsi 2010-06-12 4:32

nice site

Name: dstti 2010-07-12 20:50

Name: Anonymous 2014-01-24 2:26

Power Quadrant System : http://www.powerquadrantsystem.com

Name: Anonymous 2014-01-28 2:59

69E6DC4B 8B 08                mov         ecx,dword ptr [eax]
69E6DC4D 8D 55 0C             lea         edx,[ebp+0Ch]
69E6DC50 52                   push        edx
69E6DC51 50                   push        eax
69E6DC52 FF 91 90 00 00 00    call        dword ptr [ecx+90h]
69E6DC58 8B 03                mov         eax,dword ptr [ebx]
69E6DC5A 8B 40 08             mov         eax,dword ptr [eax+8]
69E6DC5D FF 70 08             push        dword ptr [eax+8]
69E6DC60 8D 4D 1C             lea         ecx,[ebp+1Ch]
69E6DC63 E8 6E 4B FF FF       call        69E627D6
69E6DC68 51                   push        ecx
69E6DC69 8D 45 0C             lea         eax,[ebp+0Ch]
69E6DC6C 8B CC                mov         ecx,esp
69E6DC6E 89 65 F8             mov         dword ptr [ebp-8],esp
69E6DC71 50                   push        eax
69E6DC72 E8 AA FB FF FF       call        69E6D821
69E6DC77 51                   push        ecx
69E6DC78 8D 45 1C             lea         eax,[ebp+1Ch]
69E6DC7B 8B CC                mov         ecx,esp
69E6DC7D 89 65 F8             mov         dword ptr [ebp-8],esp
69E6DC80 50                   push        eax
69E6DC81 E8 9B FB FF FF       call        69E6D821
69E6DC86 8B 4E 1C             mov         ecx,dword ptr [esi+1Ch]
69E6DC89 68 78 6B E9 69       push        69E96B78h
69E6DC8E E8 FC 28 00 00       call        69E7058F
69E6DC93 FF 75 1C             push        dword ptr [ebp+1Ch]
69E6DC96 FF D7                call        edi
69E6DC98 FF 75 0C             push        dword ptr [ebp+0Ch]
69E6DC9B FF D7                call        edi
69E6DC9D 8D 45 E8             lea         eax,[ebp-18h]
69E6DCA0 50                   push        eax
69E6DCA1 FF 15 28 52 E9 69    call        dword ptr ds:[69E95228h]
69E6DCA7 8B 45 FC             mov         eax,dword ptr [ebp-4]
69E6DCAA 85 C0                test        eax,eax
69E6DCAC 74 06                je          69E6DCB4
69E6DCAE 8B 08                mov         ecx,dword ptr [eax]
69E6DCB0 50                   push        eax
69E6DCB1 FF 51 08             call        dword ptr [ecx+8]
69E6DCB4 8B 45 08             mov         eax,dword ptr [ebp+8]
69E6DCB7 85 C0                test        eax,eax
69E6DCB9 74 06                je          69E6DCC1
69E6DCBB 8B 08                mov         ecx,dword ptr [eax]
69E6DCBD 50                   push        eax
69E6DCBE FF 51 08             call        dword ptr [ecx+8]
69E6DCC1 6A 00                push        0
69E6DCC3 FF D7                call        edi
69E6DCC5 5F                   pop         edi
69E6DCC6 5E                   pop         esi
69E6DCC7 33 C0                xor         eax,eax
69E6DCC9 5B                   pop         ebx
69E6DCCA C9                   leave
69E6DCCB C2 24 00             ret         24h
69E6DCCE 55                   push        ebp
69E6DCCF 8B EC                mov         ebp,esp
69E6DCD1 83 EC 24             sub         esp,24h
69E6DCD4 53                   push        ebx
69E6DCD5 56                   push        esi
69E6DCD6 33 F6                xor         esi,esi
69E6DCD8 8B D9                mov         ebx,ecx
69E6DCDA 89 5D DC             mov         dword ptr [ebp-24h],ebx
69E6DCDD 39 75 08             cmp         dword ptr [ebp+8],esi
69E6DCE0 74 0E                je          69E6DCF0
69E6DCE2 FF 75 08             push        dword ptr [ebp+8]
69E6DCE5 E8 CF E5 00 00       call        69E7C2B9
69E6DCEA 59                   pop         ecx
69E6DCEB 89 45 FC             mov         dword ptr [ebp-4],eax
69E6DCEE EB 03                jmp         69E6DCF3

Name: custerd 2014-02-12 4:57


Don't change these.
Name: Email:
Entire Thread Thread List