![]() |
Admin NPC help!
I need help with admin npc as i have NO IDEA why it doesnt work =o
PHP Code:
|
Hmm, I'm not all that good when it comes to scripting, but the only thing i can thing of is make sure in WEAPONS the NPC name is EXACTLY 'Staff/AdminNPC', because of it's not the triggeraction commands would not work correctly. It's caps sensitive. Otherwise the triggeraction looks fine to me.
|
Yeah, its all correct. And i know, it looks fine to me =[
|
I'll help you with it. Just fix my IP on the RC. ;)
|
Okay, yay, it works now.
THANKS STAN |
At the risk of sounding single-minded, I'm gonna advise that you adhere to KSI-GS.
|
How am i not adhering to it? O.o
|
Quote:
NPC Code: And a few other things that can be worked on. |
A couple other things:
Quote:
Additionally, you should just check and see if the person's account is in this.a, and then tokenize their chat text, rather than tokenizing their chat text for each command. As Kaimetsu suggested, read and understand the KSI-GS. It will help you out :). |
Quote:
Quote:
|
To further elaborate upon osrs's post:
String lists should not be enclosed within {}. (at least not in the old engine) |
Ah, then how should I do that?
|
Quote:
|
=o
k |
Quote:
|
NPC Code: you are checking this on the clientside when the this.a variable is only defined on the serverside part the whole check is wrong in general as well, strings need to use #s(this.stringname), and the type of check you are doing there (startswith) is also completely wrong |
Quote:
|
Quote:
|
Quote:
|
Quote:
Quote:
I don't even argue about everything. I was certainly justified in posting here to correct your misrepresentation of my ruleset. You are the one that turned it into an argument when you let your hatred of me prevent you from doing the proper thing and accepting your error. |
Quote:
Quote:
|
Quote:
How many times do I need to say it? |
Kaimetsu -- He had confirmed already it wasn't KSI-GS.
I don't see where the argument's going to end, or why either side even contributes to it. In either case, osrs displayed an obvious error, and you displayed his error in the misconception of what he tried displaying it as. I don't see the creator of the thread arguing to either of you because he showed an error, but osrs seems pretty easily offended when his error is displayed, whereas he displayed someone elses. *sigh* Good day. |
Yeah, Kai, try to say what you want to say a little less like it's supposed to be an insult.
Quote:
|
Quote:
Quote:
|
Quote:
|
Quote:
Me: "I'm gonna advise that you adhere to KSI-GS" Other Guy: "How am i not adhering to it? O.o" You: "[quotes above post and highlights bad script]" This is incredibly simple, dude. He asked how he was violating the ruleset. You quoted the question and replied. Were you attempting to answer his question? If so, you misrepresented KSI-GS. If not, why did you quote it? And as Lance points out, the term "coding violation" is meaningless. It astounds me that you can be so self-assured in matters such as this when you have such a poor grasp of English. |
X.X
Will you guys stop arguing, really? Do it somewhere else =/ |
Quote:
Quote:
|
Quote:
|
Why are you all arguing? The guy asked why his script didn't work, and amazingly someone found it in thier heart to answer the ORIGINAL QUESTION. The conversation should have ended there. If the guy initially gave a damn about all these KSI-GS infringements and 'coding standards/errors' he would have asked about them. You act like KSI-GS is a bible, and those who don't 'adhere' to it have committed a sin. This is rediulous how you people strech out the 'reply' of a simple inquiry into 2 pages, packed full of donkey sh*t. Make a new thread to show your true (*****ic) colors.
|
Quote:
Quote:
|
| All times are GMT +2. The time now is 05:26 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.