Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Server (https://forums.graalonline.com/forums/forumdisplay.php?f=14)
-   -   with(getplayer(#a)) {} (https://forums.graalonline.com/forums/showthread.php?t=19215)

Saga2001 12-19-2001 12:08 PM

with(getplayer(#a)) {}
 
Hey I have a question 4 all of you.
Would getplayer work for an rc?

Falcor 12-19-2001 12:20 PM

in short, no.

Saga2001 12-19-2001 01:22 PM

dam
 
thats too bad...

TDO2000 12-19-2001 07:38 PM

umm... there's no command that could use anything on a RC...

aesquivel 12-19-2001 09:45 PM

there needs to be so that u can disaplin the bad ppl heh

Saga2001 12-20-2001 09:54 AM

actually...
 
Actually i was thinking, that possibly i could do something with that faq online time checker. that Torkansa or whatever was talking about if u could keep the rc's online time...also i think that stefan should make a disconnect command for damned idling rcs! damn damn damn! lol. but i wanted to see if u did:
NPC Code:

with(getplayer(RC Accout)) {
setstring server.accnton,#v(timevar);
}


kinda thing.

grim_squeaker_x 12-21-2001 12:02 AM

with (getplayer(#a)) does not actually do anything.
And you'd have to test if it worked, if you have acces to an NPC Server it's only a minutes work.

Torankusu 06-27-2002 02:49 PM

Re: actually...
 
Quote:

Originally posted by Saga2001
Actually i was thinking, that possibly i could do something with that faq online time checker. that Torkansa or whatever was talking about if u could keep the rc's online time...also i think that stefan should make a disconnect command for damned idling rcs! damn damn damn! lol. but i wanted to see if u did:
NPC Code:

with(getplayer(RC Accout)) {
setstring server.accnton,#v(timevar);
}


kinda thing.

Oh my god. That was spawned off of one of my ideas. :O

Python523 06-28-2002 01:20 AM

Quote:

Originally posted by TDO2000
umm... there's no command that could use anything on a RC...
yes....use with(allplayers[index])

screen_name 06-28-2002 06:22 AM

do all FAQs have RC??

and even so, them being online doesnt mean they are working

im not sure about this, but...

NPC Code:

with (allplayers[index]) {
if (!playeronine && strequals(#g,FAQ)) {
// etc, etc
}
}


Python523 06-28-2002 06:33 AM

Quote:

Originally posted by screen_name
do all FAQs have RC??

and even so, them being online doesnt mean they are working

im not sure about this, but...

NPC Code:

with (allplayers[index]) {
if (!playeronine && strequals(#g,FAQ)) {
// etc, etc
}
}


umm, the only people in the allplayers index things are the players online

jeff335 06-28-2002 08:32 PM

RCs are a subset of the allplayers array such that the string length of their level is less than or equal to zero. For loops are very helpful.


All times are GMT +2. The time now is 12:25 AM.

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