![]() |
sword power?
I want a door to open only if a person with a level 2 sword touches it.
ive try stuff like: PHP Code:
PHP Code:
can someone help me?:confused: :confused: :confused: |
Well first, Your syntax is wrong (You used = in the If operation instead of ==) -- Try this:
PHP Code:
PHP Code:
|
Yeah also I noticed you did "= >100" not sure exactly what you were going for, but that arrangement isn't going to work either. They don't really show this in commands.rtf but it goes like:
A == B would be A is equal to B A > B would be A is greater than B A < B would be A is less than B A >= B would be A is greater than or equal to B A <= B would be A is less than or equal to B You can't do it this way =< or => |
Quote:
|
Quote:
|
Quote:
|
Quote:
just kidding |
Quote:
I have scars. |
Quote:
No one's forcing you to do it. You should have known what you were getting into, I mean, we are talking about UN here. :rolleyes: |
I don't know if either of you are trying to be funny, but have some respect.
I don't complain about how ugly either of you two script, so what in hell gives you the right to do it? |
Quote:
It is not an astethics issue either. => would break in most languages, it is a habit you want to break out of asap. |
| All times are GMT +2. The time now is 05:01 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.