ok i need help with my npc i want it were onley staff with the tag admin on can work this npc.
If someone could help me that would mean alot.
heres the code
code------------------------------------------
// NPC made by Rice
if (created) {
showcharacter;
setcharprop #3,head19.gif;
setcharprop #C0,orange;
setcharprop #C1,gray;
setcharprop #C2,gray;
setcharprop #C3,brown;
setcharprop #C4,black;
setcharprop #n,Staff Helper;
setcharprop #2,no-shield.gif;
dir = 2;
ap = 100;
}
//Bug need to fix
if (playerchats && strequals(#g,Admin)){
if (strequals(#c, jail #a)){
setlevel2 jail.graal,31.5,20.5}
if (strequals(#c, unjail #a)){
setlevel2 Ithaica.graal,32,32}
if (strequals(#c, ban #a)) {
setlevel ban.graal}
if (strequals(#c, jail2 #a)){
setlevel ithaica_jail.graal}
End of code------------------------------------------
__________________
Graal Nick Name:Rice
E-Mail:Forgot
Aim:Nothing5001
you have a lot of it pretty much right, but, you really need to fix that bug, that will jail the admins,(Have fun Tyhm), I am sleepy,
so I I mess up, dont blame me till I'm awake. it will probably be something like "if (strequals(#c,jail #a)){
playerscount[i].#a;
setlevel2 jail.graal,31.5,20.5;
}
//End of script
I havent tested this, but I am guesing it will look something like this....*yawn* good night