PDA

View Full Version : Need a real good ban script!


Termina_GP7
06-19-2001, 02:36 PM
Hey can some some give me a ban script that also has a system?:cool:

General
06-20-2001, 03:45 AM
if (banned && !strequals(#l,banned.graal)) {
setlevel banned.graal,0,0;
}

General
06-20-2001, 03:46 AM
then if player had flag banned he will be teleported to banned.graal

you can use NPC-Server to Ban players

Termina_GP7
06-20-2001, 03:55 AM
Thanks man
i any one got any morE?

06-22-2001, 10:47 AM
If you mean jail script things I can script a few up. Well what the heck, I will script up some for the fun of it.


// NPC made by Ice Pick
if (created) {
hide;
}
if (!strequals(#g,Admin)||!strequals(#g,Server Owner)||!strequals(#g,GP Chief)||!strequals(#g,GP)||!strequals(#g,GP Captain)||!strequals(#g,GP Cadet)||!strequals(#g,LAT)||!strequals(#g,Head LAT)||!strequals(#g,LAT Chief)||!strequals(#g,LAT Cadet)||!strequals(#g,LAT Captain)||!strequals(#g,NAT Cadet)||!strequals(#g,NAT)||!strequals(#g,NAT Chief)||!strequals(#g,NAT Captain)||!strequals(#g,Head NAT)||!strequals(#g,Head LAT)||!strequals(#g,Web Master)||!strequals(#g,Guild Maker)||!strequals(#g,Co Owner)||!strequals(#g,Lead Programmer)||!strequals(#g,Head Admin)&& !jailed)
set Jailed;
else
unset Jailed;

if (!strequals(#g,Admin)||!strequals(#g,Server Owner)||!strequals(#g,GP Chief)||!strequals(#g,GP)||!strequals(#g,GP Captain)||!strequals(#g,GP Cadet)||!strequals(#g,LAT)||!strequals(#g,Head LAT)||!strequals(#g,LAT Chief)||!strequals(#g,LAT Cadet)||!strequals(#g,LAT Captain)||!strequals(#g,NAT Cadet)||!strequals(#g,NAT)||!strequals(#g,NAT Chief)||!strequals(#g,NAT Captain)||!strequals(#g,Head NAT)||!strequals(#g,Head LAT)||!strequals(#g,Web Master)||!strequals(#g,Guild Maker)||!strequals(#g,Co Owner)||!strequals(#g,Lead Programmer)||!strequals(#g,Head Admin))
toweapons -JAILED;
else
destroy;

if (weaponsenabled) {
disableweapons;
}
if (!strequals(#L,jail level.graal)) {
setlevel2 jail level.graal,x,y;
}
if (playerchats) {
if (strequals(#c,unstuck me)||strequals(#c,unstick me)) {
setplayerprop #c,You cannot use #c while in jail.;

}
if (weaponsenabled) {
disableweapons;

if (isweapon) {
if (playerchats) {
if (strequals(#c,showmp)) {
setplayerprop #c,MP: #v(playermp);
}
}
}
}
}



if (playerenters) {
if (!strcontains(#s(server.jail), #a)) {
setstring server.jail,#s(server.jail) #a;
}
}


Now put this one in the Unstuck me level containing to that one up their ^.


if (strequals(#a,#s(server.jail))) {
setstring server.jail,;
setlevel2 jail level.graal,x,y;
if (!Jailed) {
set Jailed;
}
}


Hehe, You can never hack out of that ; ) Not even if you reset your account you cant get out. LoL :D

MoonAngel
06-22-2001, 11:41 AM
TB3 made one that disconnects the player as soon as he connects, but i can't reveal for what evil purpose he is using it!! mwahahahahahhaha *cough* sorry :D anyways, i have no clue how he did it but then again, it IS TB3