Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   New Scripting Engine (GS2) (https://forums.graalonline.com/forums/forumdisplay.php?f=153)
-   -   Logging Out Script (https://forums.graalonline.com/forums/showthread.php?t=68692)

gamer4lifebitach 09-12-2006 11:55 PM

Logging Out Script
 
Ok i made this script which sends a message to rc and to the message system i made which displays who logs off but it displays like every 30seconds which wont stop and when people do log off ya it shows who does but it still goes....

Can someone help?

ApothiX 09-13-2006 10:54 PM

My a script is doing b, plz help without me giving any useful information about it!!

Skyld 09-13-2006 10:58 PM

Quote:

Originally Posted by gamer4lifebitach
Ok i made this script which sends a message to rc and to the message system i made which displays who logs off but it displays like every 30seconds which wont stop and when people do log off ya it shows who does but it still goes....

Can someone help?

Please hang up and try again.

KuJi 09-13-2006 11:13 PM

PHP Code:

function onPlayerLogout(temp.plyr)
{
  echo(
temp.plyr SPC "has logged off!");


Uhh?

gamer4lifebitach 09-16-2006 12:22 AM

still happens

KuJi 09-16-2006 02:30 AM

Quote:

Originally Posted by gamer4lifebitach
still happens

What is happening?

gamer4lifebitach 09-21-2006 02:59 AM

i still get a message like every 30secounds
saying * has logged off!

KuJi 09-21-2006 03:10 AM

check this:
PHP Code:

function onPlayerLogout(temp.plyr)
{
  if (
temp.plyr != NULL)
  {
    
doStuff();
  }


Replace doStuff() with whatever you do in it.

theHAWKER 09-30-2006 11:49 PM

maby it shows peoples buddys logging off off dirent survers?

Twinny 10-01-2006 04:22 AM

PHP Code:

function onPlayerLogout(temp.plyr)
{
  if (
temp.plyr.level != NULL)
  {
    
addMessage(); //Or whatever
  
}



xAndrewx 10-01-2006 05:27 PM

Ah, why add temp.plyr in the playerlogout function?
having it as plyr means that it can still be called with temp.plyr...

Skyld 10-01-2006 05:28 PM

Quote:

Originally Posted by xAndrewx (Post 1224479)
Ah, why add temp.plyr in the playerlogout function?
having it as plyr means that it can still be called with temp.plyr...

Clarity I guess.


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

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