![]() |
Script Question
I have a NPC weapon but i need this. I want it so someone with the guild tag (WarriorofLight) who says healer gets the weapon called healer. but if someone doesnt have the tag it warps them to jail.graal can anyone help?
|
basically
basically go like this
if(strequals(#g,WarriorofLight)){ //do whatever }else{ setlevel2 jail.graal,30,30; } |
should be like this...
if (strequals(#g,Warrioroflight)&&strequals(#c,healer )) { toweapons Healer; else {setlevel bannedforevern00b.graal; } } |
Yakuzo, this is how Graal would view that:
NPC Code: 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: |
Quote:
|
what does the isweapon statement do??
|
No wonder your servers not up
Babylon |
| All times are GMT +2. The time now is 05:36 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.