![]() |
logs
Can somebody tell me ALL of the current log commands?
I know of these: NPC Code: Thanks |
That's all of them, besides
NPC Code:sendrpgmessage message; That's the command used on Graal Kingdoms for the RPG Message. |
Can anyone make use of the rpg window?
|
Quote:
NPC Code: Fire the weapon to enable/disable it. Say "/chat <message>" to send a message. Press F2 to view the RPG Window. :-) |
ah, intresting.
say, is there a flag for when an rc logs on to the server? |
Quote:
Such as paragraphs, info, help, stories. |
Quote:
|
Intresting. How did you check to see if it was an rc?
|
Check if the strlen of the level, #F, is 0.
if (strlen(#F)==0) |
Quote:
|
Awsome! Thanks alot, guys :D
|
Quote:
|
Quote:
Revised statement: An active player has to be set within a with() statement for #F to be valid. :) |
Of course, there are other ways for active players to be set :-p
|
Quote:
|
Well, my message was kinda misleading. I mean that there are other circumstances in which an active player is set, such as when a player-specific event has occured. Otherwise we'd all be fumbling with ProjectShifter-esque 'with(#a)'s ;)
|
Quote:
(Gasp! I was indeed suffering from a misconception. I blame the original explanation of #F I was fed. The way it works makes sense, though; I should have picked up on it earlier. o.O) |
I got it somewhat working. This...
NPC Code: ...is what I have so far. Works nice, with the exeption that RCs don't seem to trigger actionplayeronline... so it ends up that the rc will have the default head when the log on untill a player logs on. Any ideas? I was thinking of having it check for when the rc chat says "New RC: blah blah blah", but I've been having trouble getting the (rcchat) flag to work. |
Quote:
|
Quote:
Quote:
Quote:
|
Quote:
Isn't there a better way then looping through every so often? |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
if you use it for something like 2k2 does, I supose you could also do what they do, and inform the player when something is updated. |
Quote:
|
| All times are GMT +2. The time now is 04:51 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.