Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-26-2007, 05:34 AM
Rapidwolve Rapidwolve is offline
Registered User
Join Date: Jul 2006
Posts: 1,241
Rapidwolve is an unknown quantity at this point
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
Reply With Quote
  #2  
Old 01-26-2007, 05:49 AM
zell12 zell12 is offline
Gone
zell12's Avatar
Join Date: Jun 2001
Location: Alberta, Canada
Posts: 8,541
zell12 has a spectacular aura about
Send a message via ICQ to zell12 Send a message via AIM to zell12 Send a message via MSN to zell12
Yeah good idea...

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

__________________
Reply With Quote
  #3  
Old 01-26-2007, 09:52 AM
WanDaMan WanDaMan is offline
Master Tux
WanDaMan's Avatar
Join Date: Aug 2002
Location: England, United Kingdom
Posts: 5,571
WanDaMan is a jewel in the roughWanDaMan is a jewel in the rough
Send a message via MSN to WanDaMan
I believe they're for the screenshot area on the official website, you can link them directly here... MagicalTux added several, I miss him :[
__________________
V$:CONFL16T
Reply With Quote
  #4  
Old 01-26-2007, 10:01 AM
napo_p2p napo_p2p is offline
oh snaps
napo_p2p's Avatar
Join Date: Sep 2003
Location: Pismo Beach, California
Posts: 2,118
napo_p2p has a spectacular aura aboutnapo_p2p has a spectacular aura about
Send a message via AIM to napo_p2p Send a message via MSN to napo_p2p
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.
__________________
Scito hoc super omnia.
Haec vita est tua una sola.
Dum vita superest, utere maxime quoque puncto, momento, et hora quae habes.
Tempus neminem non manet.
Noli manere tempus.
Carpe Diem

Seize the Day.
Reply With Quote
  #5  
Old 01-26-2007, 10:12 AM
zell12 zell12 is offline
Gone
zell12's Avatar
Join Date: Jun 2001
Location: Alberta, Canada
Posts: 8,541
zell12 has a spectacular aura about
Send a message via ICQ to zell12 Send a message via AIM to zell12 Send a message via MSN to zell12
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.
__________________
Reply With Quote
  #6  
Old 01-26-2007, 10:56 AM
napo_p2p napo_p2p is offline
oh snaps
napo_p2p's Avatar
Join Date: Sep 2003
Location: Pismo Beach, California
Posts: 2,118
napo_p2p has a spectacular aura aboutnapo_p2p has a spectacular aura about
Send a message via AIM to napo_p2p Send a message via MSN to napo_p2p
[QUOTE=zell12;1269694I honestly don't know why you guys indent and color your scripts.[/QUOTE]

Easier to see different things, for one.
__________________
Scito hoc super omnia.
Haec vita est tua una sola.
Dum vita superest, utere maxime quoque puncto, momento, et hora quae habes.
Tempus neminem non manet.
Noli manere tempus.
Carpe Diem

Seize the Day.
Reply With Quote
  #7  
Old 01-26-2007, 02:44 PM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
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 .
Reply With Quote
  #8  
Old 01-27-2007, 04:23 AM
Tyhm Tyhm is offline
Psionic Youth
Tyhm's Avatar
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
Tyhm has a spectacular aura about
I agree.
NPC Code:
is dumb.
() ()
(*.*)
Bunntime!

Yeah, it doublespaces, wtfbbq?

__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."

"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
- My pet, the Levelup Gnome

http://forums.graalonline.com/forums...&postcount=233
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 10:25 PM.


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