Sandbox
Jump to navigation
Jump to search
Test this bit. preformatted by codes. Normal.
GUI Formatted. Let's try pasting something in. Normal again.
1:1 | Sebelum dunia diciptakan, Firman telah ada. Firman itu ada bersama Allah.
Dan Firman itu adalah Allah. |
|
1:2 | Firman ada bersama Allah sejak semula. | |
1:3 | Segala sesuatu dijadikan oleh Dia (Firman)*. Tanpa Dia, maka tidak ada sesuatu pun yang diciptakan. | |
1:4 | Di dalam Firman itu ada hidup. Hidup itu membawa terang kepada manusia. | |
1:5 | Terang itu bercahaya di dalam kegelapan. Kegelapan tidak menguasai terang itu. | |
1:6 | Datanglah seorang yang diutus Allah, namanya Yohanes. | |
1:7 | Yohanes datang untuk memberi kesaksian mengenai Terang itu (Kristus)* supaya melalui Yohanes semua orang menjadi percaya. | |
1:8 | Yohanes bukan Terang itu, tetapi dia datang untuk memberitakan Terang itu kepada manusia. | |
1:9 | Terang yang sejati datang ke dunia ini. Itulah Terang sejati yang menerangi semua manusia. | |
Lets test some code...
trying to make [[it]] work. public class BagOfEndlessness extends BagOfHolding { public String ID(){ return "BagOfEndlessness";} public BagOfEndlessness() { super(); setName("a small sack"); setDisplayText("a small black sack is crumpled up here."); setDescription("A nice silk sack to put your things in."); secretIdentity="The Bag of Endless Stuff"; baseEnvStats().setLevel(1); capacity=Integer.MAX_VALUE-1000; baseGoldValue=10000; baseEnvStats().setDisposition(baseEnvStats().disposition()|EnvStats.IS_BONUS); recoverEnvStats(); } public void executeMsg(Environmental myHost, CMMsg msg) { if(msg.amITarget(this) &&(msg.tool()!=null) &&(msg.tool() instanceof Item)) { Item newitem=(Item)msg.tool(); if((newitem.container()==this) &&(newitem.owner() !=null)) { Item neweritem=(Item)newitem.copyOf(); Vector allStuff=new Vector(); allStuff.addElement(neweritem); if(newitem instanceof Container) { Vector V=((Container)newitem).getContents(); for(int v=0;v<V.size();v++) { Item I=(Item)((Item)V.elementAt(v)).copyOf(); I.setContainer(neweritem); allStuff.addElement(I); } } neweritem.setContainer(this); for(int i=0;i<allStuff.size();i++) { neweritem=(Item)allStuff.elementAt(i); if(newitem.owner() instanceof MOB) ((MOB)newitem.owner()).addInventory(neweritem); else if(newitem.owner() instanceof Room) { ((Room)newitem.owner()).addItem(neweritem); neweritem.setDispossessionTime(dispossessionTime()); } neweritem.recoverEnvStats(); } } } super.executeMsg(myHost,msg); } }
Well that went well...
- Sometimes I just wish that all the text I type ends up indented. From the point that I start typing till the poin that I end, I would just like it all to end up pushed in a little farther than the other text around it. Might be useful for quotes or definitions, or text you'd just like off the margin a little bit...
let me try something... okokokokok blá blá blá salada não leva a nada <---oh God... I missed those new lines..
let's just try again now I have braces opening and closing every line I hope this work this time <--- ok, now it worked! I didn't know we have to do this way