Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-19-2001, 02:36 PM
Termina_GP7 Termina_GP7 is offline
Registered User
Join Date: May 2001
Posts: 155
Termina_GP7 is on a distinguished road
Cool Need a real good ban script!

Hey can some some give me a ban script that also has a system?
__________________

-= Rice Was Here -=
Reply With Quote
  #2  
Old 06-20-2001, 03:45 AM
General General is offline
Banned
Join Date: Apr 2001
Location: Station Square
Posts: 984
General is on a distinguished road
Send a message via ICQ to General Send a message via AIM to General Send a message via Yahoo to General
if (banned && !strequals(#l,banned.graal)) {
setlevel banned.graal,0,0;
}
Reply With Quote
  #3  
Old 06-20-2001, 03:46 AM
General General is offline
Banned
Join Date: Apr 2001
Location: Station Square
Posts: 984
General is on a distinguished road
Send a message via ICQ to General Send a message via AIM to General Send a message via Yahoo to General
then if player had flag banned he will be teleported to banned.graal

you can use NPC-Server to Ban players
Reply With Quote
  #4  
Old 06-20-2001, 03:55 AM
Termina_GP7 Termina_GP7 is offline
Registered User
Join Date: May 2001
Posts: 155
Termina_GP7 is on a distinguished road
o

Thanks man
i any one got any morE?
__________________

-= Rice Was Here -=
Reply With Quote
  #5  
Old 06-22-2001, 10:47 AM
Guest
Posts: n/a
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 Code:

// 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);
}
}
}
}
}



NPC Code:

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 ^.

NPC Code:

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
Reply With Quote
  #6  
Old 06-22-2001, 11:41 AM
MoonAngel MoonAngel is offline
Banned
MoonAngel's Avatar
Join Date: Mar 2001
Location: QUÉBEC!
Posts: 1,443
MoonAngel is on a distinguished road
Send a message via ICQ to MoonAngel Send a message via AIM to MoonAngel
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 anyways, i have no clue how he did it but then again, it IS TB3
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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.