Leader
github.com/habbo-hotel
- Aug 24, 2012
- 1,030
- 307
Hello guys, Over this week I been working and working on improving Seancode's system to be easier to code and understand while also being able to have extreme flexibility support with Russiancode. Unfortunately I couldn't finish the second part but I managed to get the first done.
Starting Seancode/Ending Seancode
Printing Text With Seancode
Starting Function
Setting Up Variables With Seancode
Setting up a Seancode Configuration file with mysql connect
Next Revision coming soon!
Starting Seancode/Ending Seancode
Instead of "<?php" which is Php's way of starting Seancode uses "{sean}".
*Ending Seancode*
Instead of "?>" which is Php's way of ending Seancode uses "{/sean}"
PHP:
{sean}
Instead of "?>" which is Php's way of ending Seancode uses "{/sean}"
Code:
{/sean}
PHP:
{sean}
adv.(print)['Text goes here']
{/sean}
PHP:
{sean}
adv.('function,Advanced')['start-function*on,click*']
{/sean}
PHP:
{sean}
@title['Seancode Rocks']
-The above defines @title as Seancode Rocks!-
{/sean}
PHP:
{sean}
&LightConfiguration&
@my(host)['localhost']
@my(user)['root']
@my(pass)['seaner55']
@my(data)['seanCode']
-Do Not Edit Below This Line-
%Advanced.Mysql-Functions-%
{Reach:Database["#my-host#"] (else) $crash}
{Reach:Database["#my-user#:[ (else) $crash}
{Reach:Pass["#my-pass"] (else) $crash}
{Reach:Data["my-data"] (else) $crash}
%Connect% \Run through Seandavies,user/ %Defined,ConnectPro% :Grab,from,@My-Data,(tables-echo all) else $crash}
$crash['YOU FUCKED UP RUN BOY']
{/sean}