Thread: qglobals
View Single Post
  #2  
Old 02-01-2010, 02:09 AM
Akkadius's Avatar
Akkadius
Administrator
 
Join Date: Feb 2009
Location: MN
Posts: 2,072
Default

I do not know for sure if you're able to use it under the table, chances are no because its not the proper way to call that table. But you can definately use Qglobals to restrict access to a zone.

For example:

Zone : templeveeshan (some random raid zone)
Player.pl
Code:
sub EVENT_ENTERZONE
{
if ($qglobals{GTFO} == 1)
{
quest::movepc(ZONE,X,Y,Z,H);
$client->Message(15, "Denied!");
}
}
Although it depends on how you want to execute that, it's a safe way to double up on the anti-MQ hacks. You could do it many different ways.

And you didn't really inquire on any other type of information on what you were trying to do so I just shot that out.
Reply With Quote