Quote:
|
Originally Posted by Tolnaftate2004
1. KSI-GS (Rule 2a and Rule 8).
2. You may want to check that they're adding / taking an integer value.
3. The timeout isn't necessary...
|
If this weren't a simple fix I probably would completly recode it. So lets act as if it weren't.
Alissalee:
The thing I was pointing out with this that I guess I should have actually hilited it that you need to watch your groupings. You had this:
PHP Code:
if (playerchats&&strequals(#a,Birdwell)||strequals(#a,Brandons account)||strequals(#a,Dark Dragon Guardian)){}
and then this:
PHP Code:
if (startswith(/take,#c)) {
I am guessing you accidently closed the condition but what it was testing was not
PHP Code:
if (playerchats && startswith(/take, #c) && (strequals(#a,Birdwell)||strequals(#a,Brandons account)||strequals(#a,Dark Dragon Guardian)))
but
PHP Code:
// Does nothing:
if (playerchats && strequals(#a,Birdwell) || strequals(#a,Brandons account) || strequals(#a,Dark Dragon Guardian) {}
// And
if (startswith(/take, #c)) {
// actions
}
Meaning that it would never reach the code block with the startswith because startswith is not a trigger. Also since you had:
PHP Code:
if (playerchats && strequals(#a,Birdwell)||strequals(#a,Brandons account)||strequals(#a,Dark Dragon Guardian)) {}
You were literally saying
If the player chats and the account is Birdwell or if (no action) and the account is Brandons Account or (no action) and the account is Dark Dragon Guardian.
Meaning that the playerchats (the trigger) had no effect on Brandons Account or Dark Dragon Guardian since neither of them had the playerchats attached to them.
That is the long way of explaining it. Hope it helped.