Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Is it possible to tell if a player is banned via script? (https://forums.graalonline.com/forums/showthread.php?t=134262207)

cbk1994 02-23-2011 06:16 AM

Is it possible to tell if a player is banned via script?
 
I thought I made this thread before, but I can't seem to find it...

Is there any way to tell if an account is banned via script? I ask because I would like to improve Era's support by including information on how to contact a staff member in the server description if an account is banned.

For example,
http://u.graalcenter.org/i/Capture%2...14.03%20PM.png

fowlplay4 02-23-2011 06:34 AM

You could probably rig something up with requesttext("localbans", NULL);

cbk1994 02-23-2011 01:53 PM

Quote:

Originally Posted by fowlplay4 (Post 1632824)
You could probably rig something up with requesttext("localbans", NULL);

It doesn't seem to work serverside or even clientside while connected to client-RC. It seems to be restricted to priveledged scripts.

Also, I'm guessing it would only return the first 1,000 bans like RC does. Era has more than that.


All times are GMT +2. The time now is 04:07 PM.

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