Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   Forum Tags (https://forums.graalonline.com/forums/showthread.php?t=71719)

Rapidwolve 01-26-2007 05:34 AM

Forum Tags
 
I suggest you rename the '['PHP] tag to [NPC] because the current NPC code tag is ugly and who honestly post's php codes on here.

Which is better:

NPC Code:
function onCreated(){
//
}



or

PHP Code:

function onCreated(){
//


Not that it really matters, but just a suggestion =P

zell12 01-26-2007 05:49 AM

Yeah good idea...

Also, someone tell me what the point of these are:

http://img262.imageshack.us/img262/1851/gallimgrx5.png

WanDaMan 01-26-2007 09:52 AM

I believe they're for the screenshot area on the official website, you can link them directly here... MagicalTux added several, I miss him :[

napo_p2p 01-26-2007 10:01 AM

I say keep it the way it is, because there already is a way to post 'NPC Code' anyways. Plus, someone may most php code that goes hand-in-hand with graalscript.

zell12 01-26-2007 10:12 AM

Well, how about for the [code] tags, format it like php and html so it gives it color. I honestly don't know why you guys indent and color your scripts.

napo_p2p 01-26-2007 10:56 AM

[QUOTE=zell12;1269694I honestly don't know why you guys indent and color your scripts.[/QUOTE]

Easier to see different things, for one.

Twinny 01-26-2007 02:44 PM

It's syntax highlighting. Makes it easier to see what is going on. Indents are apart of stylising: makes it easier to read. I could do

PHP Code:

function onCreated() { statement1statement2statement3; } 

But I prefer to do

PHP Code:

function onCreated()
{
  
this.test "string!";
  if (
this.test == "string!")
  {
    echo(
"YAY!");
  }


Just nicer ^^.

Tyhm 01-27-2007 04:23 AM

I agree.
NPC Code:
is dumb.
() ()
(*.*)
Bunntime!

Yeah, it doublespaces, wtfbbq?



All times are GMT +2. The time now is 12:07 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.