Graal Forums  

Go Back   Graal Forums > Search Forums
FAQ Members List Calendar Today's Posts

Showing results 201 to 225 of 499
Search took 0.01 seconds; generated 57 minute(s) ago.
Search: Posts Made By: Tolnaftate2004
Forum: Code Gallery 03-24-2008, 09:02 PM
Replies: 32
Views: 7,097
Posted By Tolnaftate2004
Who can't open a .doc file? If you're on...

Who can't open a .doc file?
If you're on Windows without Word, MS Works will open it.
If you're on a Mac without Word, there's always NeoOffice.
If you're on a Unix system, you have OpenOffice.
...
Forum: Code Gallery 03-24-2008, 12:52 PM
Replies: 24
Views: 7,234
Posted By Tolnaftate2004
... Are you getting an error?

... Are you getting an error?
Forum: Code Gallery 03-24-2008, 11:37 AM
Replies: 24
Views: 7,234
Posted By Tolnaftate2004
Question: should eval be able to access temp....

Question: should eval be able to access temp. variables declared within the scope that eval is called? e.g.,

temp.a_variable = 74;
eval("this.ihaveadream=temp.a_variable+1");

Otherwise, it...
Forum: Code Gallery 03-24-2008, 09:12 AM
Replies: 24
Views: 7,234
Posted By Tolnaftate2004
I know, this is my preference, though.

I know, this is my preference, though.
Forum: Code Gallery 03-24-2008, 05:33 AM
Replies: 24
Views: 7,234
Posted By Tolnaftate2004
function: eval

eval()

eval(str) - evaluates/executes a string of GScript.

You asked for it and you got it. eval is a function available in other scripting languages. Its only parameter is a string of code to...
Forum: NPC Scripting 03-24-2008, 04:29 AM
Replies: 29
Views: 4,847
Posted By Tolnaftate2004
Allright. I will make a new thread for this.

Allright. I will make a new thread for this.
Forum: Code Gallery 03-23-2008, 01:42 AM
Replies: 8
Views: 2,334
Posted By Tolnaftate2004
He means {{int,int, ...},{str,str,...}}. And...

He means {{int,int, ...},{str,str,...}}.
And you can certainly use for (needle: haystack) with a multidimensional array.
Forum: Birthday Forum 03-22-2008, 09:35 PM
Replies: 14
Views: 1,376
Posted By Tolnaftate2004
Happy birthday (again).

Happy birthday (again).
Forum: NPC Scripting 03-22-2008, 09:33 PM
Replies: 29
Views: 4,847
Posted By Tolnaftate2004
I've updated the script above: added...

I've updated the script above:

added protected variables, you can keep eval from modifying some variables by adding to this.
added the option to disable the use of assignment operator (won't...
Forum: NPC Scripting 03-22-2008, 06:10 AM
Replies: 29
Views: 4,847
Posted By Tolnaftate2004
Doesn't take much to disable it.

Doesn't take much to disable it.
Forum: NPC Scripting 03-22-2008, 05:54 AM
Replies: 29
Views: 4,847
Posted By Tolnaftate2004
Attached is a script for eval() for doing math....

Attached is a script for eval() for doing math. It can handle almost any gscript operator right now ('new' and ?: I have omitted, and 'in' because this does not yet support arrays for all I know). It...
Forum: NPC Scripting 03-22-2008, 01:48 AM
Replies: 28
Views: 5,003
Posted By Tolnaftate2004
This is for JavaScript/ActionScript...

This is for JavaScript/ActionScript compatibility. `var` in either of these is akin to temp. and static is a `function` qualifier. We don't need it, unless we want to use ActionScript 3. Seems good...
Forum: NPC Scripting 03-21-2008, 03:32 AM
Replies: 28
Views: 5,003
Posted By Tolnaftate2004
It happens in all instances of var, not just the...

It happens in all instances of var, not just the code posted above.
Forum: NPC Scripting 03-21-2008, 01:45 AM
Replies: 29
Views: 4,847
Posted By Tolnaftate2004
PHP has perl regular expressions. This is still...

PHP has perl regular expressions. This is still easily accomplished.
Forum: NPC Scripting 03-20-2008, 09:57 AM
Replies: 29
Views: 4,847
Posted By Tolnaftate2004
I don't see why we need to parse a string if...

I don't see why we need to parse a string if we're doing simple math...
text*15 or float(text)*15 should suffice, but if there's something I'm missing here, might I recommend this script...
Forum: Guild Life 03-19-2008, 06:29 AM
Replies: 37
Views: 5,247
Posted By Tolnaftate2004
1 Global Scripting Team 2008-02-18 20:10:11 GST...

1 Global Scripting Team 2008-02-18 20:10:11 GST Member OK
2 VIP 2004-07-27 21:30:54 Member OK
3 Waffles 2004-06-28 21:15:22 Newbie OK
Forum: Playerworld Administration Team 03-18-2008, 08:24 PM
Replies: 8
Views: 13,557
Posted By Tolnaftate2004
You got my vote.

You got my vote.
Forum: NPC Scripting 03-18-2008, 12:58 AM
Replies: 8
Views: 2,855
Posted By Tolnaftate2004
I wouldn't bet on it.

I wouldn't bet on it.
Forum: Code Gallery 03-17-2008, 01:50 AM
Replies: 2
Views: 1,766
Posted By Tolnaftate2004
I can't think of many applications for these.

I can't think of many applications for these.
Forum: Future Improvements 03-17-2008, 01:16 AM
Replies: 10
Views: 1,612
Posted By Tolnaftate2004
It was just an example; I see that I made at...

It was just an example; I see that I made at least one mistake. I have a bad habit of writing code in the reply box, going to test it, changing it around and never replacing it in the reply box. :P
Forum: Future Improvements 03-17-2008, 01:13 AM
Replies: 12
Views: 1,378
Posted By Tolnaftate2004
Then the speed up from compilation would be...

Then the speed up from compilation would be minimal...
Forum: Future Improvements 03-17-2008, 01:09 AM
Replies: 16
Views: 2,376
Posted By Tolnaftate2004
I went ahead and did this for you. Thanks, Zero.

I went ahead and did this for you. Thanks, Zero.
Forum: Code Gallery 03-16-2008, 10:53 PM
Replies: 31
Views: 9,814
Posted By Tolnaftate2004
Well done! Tried with this: this.a =...

Well done!
Tried with this:
this.a = "this.b";
this.b = 81;
echo(parsetags("<sqrt><sqrt><variable><variable>this.a</variable></variable></sqrt></sqrt>"));
Worked like a charm.
Forum: NPC Scripting 03-16-2008, 09:29 PM
Replies: 11
Views: 2,577
Posted By Tolnaftate2004
This is correct. Outside of being a unique...

This is correct. Outside of being a unique identifier for the NPC-Server to split the script into server- and clientside parts, it is nothing more than a comment.
Forum: Bug Report 03-16-2008, 09:22 PM
Replies: 42
Views: 38,109
Posted By Tolnaftate2004
So do you.... Mamm-...-al... mamm-...-ary glands.

So do you.... Mamm-...-al... mamm-...-ary glands.
Showing results 201 to 225 of 499

 
Forum Jump

All times are GMT +2. The time now is 08:34 PM.


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