Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Reading Server Options via Gscript (https://forums.graalonline.com/forums/showthread.php?t=56052)

zokemon 11-16-2004 11:20 PM

Reading Server Options via Gscript
 
is there a variable/string prefix or something that I need to read server options in a script?

Any help appriciated.

Admins 11-17-2004 12:57 AM

No it's not possible to access the server options yet. You want to display them or actually change them?

osrs 11-17-2004 01:59 AM

Not possible, like Stefan said, but if you eventually want to check the staff list, there are other ways to do that.

zokemon 11-17-2004 02:24 AM

Quote:

Originally Posted by Stefan
No it's not possible to access the server options yet. You want to display them or actually change them?

Display them. I know there are a ton of ways around this but if I said something like specialaccounts=zokemon,Slash-P2P
and I wanted it to pm a message to those accounts when they log on...can this be done via server ops?
(Don't bother explaining how to pm when someone logs on...I only care about the server ops part)

Stefan replied to my post but not my PM :(

Admins 11-17-2004 01:16 PM

You could do that with server-flags too

osrs 11-17-2004 04:22 PM

Quote:

Originally Posted by Stefan
You could do that with server-flags too

Or even a database-NPC.

zokemon 11-17-2004 07:37 PM

Quote:

Originally Posted by zokemon
I know there are a ton of ways around this

Thanks though :)

Slash-P2P 11-17-2004 09:45 PM

I've wanted GScript to be able to read server options for a while.
It would be nice for certain NPCs that check if a person is staff, or something along those lines.

zokemon 11-17-2004 10:12 PM

You can veiw peoples rights with GScript... ;o

xAndrewx 11-17-2004 10:14 PM

I remember Delph finding something like 70 SO commands. There's probably more if you look..

osrs 11-18-2004 12:54 AM

Quote:

Originally Posted by Slash-P2P
I've wanted GScript to be able to read server options for a while.
It would be nice for certain NPCs that check if a person is staff, or something along those lines.

It is possible and there is no need to check the server-options. By the way, the server-options shouldn't and hopefully will not be able to be checked by non-staffs.

Slash-P2P 11-18-2004 01:11 AM

Quote:

Originally Posted by osrs
It is possible and there is no need to check the server-options. By the way, the server-options shouldn't and hopefully will not be able to be checked by non-staffs.

I'm saying have npcs load if the player is or is not staff from the server list, then maybe set a string or something acknowleding he/she is a staff member. That way there doesnt need to be another string somewhere.

zokemon 11-18-2004 03:28 AM

Please close the topic...
I jsut wanted to know if you could read server ops via gscirpt...
anwser: no
close this: yes

Kaimetsu 11-18-2004 04:26 PM

Quote:

Originally Posted by zokemon
Please close the topic...

That's not how it works.

zokemon 11-19-2004 12:24 AM

In my world it does :)


All times are GMT +2. The time now is 11:52 AM.

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