{Seancode} Revision 2.0 {Hanguide On How To Use}

Leader

github.com/habbo-hotel
Aug 24, 2012
1,006
267
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
Instead of "<?php" which is Php's way of starting Seancode uses "{sean}".
PHP:
{sean}
*Ending Seancode*
Instead of "?>" which is Php's way of ending Seancode uses "{/sean}"
Code:
{/sean}
Printing Text With Seancode
PHP:
{sean}
adv.(print)['Text goes here']
{/sean}
Starting Function
PHP:
{sean}
adv.('function,Advanced')['start-function*on,click*']
{/sean}
Setting Up Variables With Seancode
PHP:
{sean}
@title['Seancode Rocks']
-The above defines @title as Seancode Rocks!-
{/sean}
Setting up a Seancode Configuration file with mysql connect
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}
Next Revision coming soon!
 

Users who are viewing this thread

Top