Quote:
Originally Posted by thepoetwarrior
I already use global_player.pl file recording their XYZ and re-checking after timer is up with +/- X distance from previous recorded position, then popup window that if they click yes it cancels and restarts the timer else if you dont click popup within X minutes it logs you off.
Interesting idea bout making players type random string to prove not a bot or still at keyboard.
Is it possible to spawn an NPC from the player.pl? I'm not sure if its possible for a player to just say the random text without an NPC targetted.
Turning this unpopular afk script into a 0.1% trigger event would be a neat idea, to have an event. By looking at player flags the event could even be scaled to their tier.
Thanks for the ideas, and still looking for more 
|
It's possible to check that from a script (I know Akkadius did it at one point), and as far as I know you can check player's text via player.pl. I haven't messed with perl in forever sadly, though there may be some player.pl examples scattered around. I'll see what I can dig up about that feature.
edit: this should work as player.pl:
Quote:
sub EVENT_SAY {
$client->Message(13, "You have said something!");
if($text =~ /match/i)
{
$client->Message(13, "You have said something that matches!");
}
}
|