
06-23-2001, 06:20 PM
|
|
Registered User
|
 |
Join Date: Jun 2001
Location: England U.K
Posts: 940
|
|
Quote:
Originally posted by grim_squeaker_x
Yakuzo, this is how Graal would view that:
NPC Code:
if (strequals(#g,Warrioroflight)&&strequals(#c,healer )) {
toweapons Healer;
else {
setlevel bannedforevern00b.graal;
}
}
And since there is no if before the else in this case you would just get a syntax error... A better version is this:
NPC Code:
if (playerchats&&!(isweapon)&&strequals(#c,healer)) {
if (strequals(#g,Warrioroflight)) toweapons Healer;
else setlevel2 jail.graal,32,32;
}
|
yep, hes got the idea |
|
|
|