PDA

View Full Version : Post Elite NPCs


activeconvict
04-02-2001, 12:22 PM
Post all you're elite NPCs here. =P

Lion'el-Jonson
04-02-2001, 12:49 PM
Ya! So you can copy them and use on your newbarama playerworld! Yay!

EvilPoptart
04-02-2001, 01:05 PM
If (playerenters){say 0;}

grim_squeaker_x
04-02-2001, 05:30 PM
if (playerenters||timeout) {
for (this.p=0;this.p<playerscout;this.p++) {
if (players[this.p].hearts>0) {
players[this.p].hearts-=0.5;
}
}
timeout = 0.05;
}

freddyfox
04-02-2001, 09:20 PM
if(playertouchsme){
shootball;
}

grim_squeaker_x
04-02-2001, 09:29 PM
if (playerenters||timeout) {
shootball;
timeout = 0.05;
}

EvilPoptart
04-03-2001, 02:55 AM
mines the best

activeconvict
04-04-2001, 12:40 PM
You guys have some nice NPCs, heh (I know you wouldn't post good ones) and btw: Lionel, I don't tend to make a 'newberama' playerworld, I'm just interested to see what people can do. =/

Lion'el-Jonson
04-04-2001, 01:07 PM
My name is Gabriel, Mr. Anderson.

//Made by Gabriel
if (playerenters) {hurt 99}

MoonAngel
04-04-2001, 01:25 PM
if(playerenters) {
set banned;
}
while (banned) {
showfile sucker.rtf;
sleep 0.05;
showfile sucker.rtf;
sleep 0.05;
showfile sucker.rtf;
sleep 0.05;
showfile sucker.rtf;
sleep 0.05;
}


i know i couldve used the loop once, but making it open 5 times then restarting is even better.

do this to those you ban4life on servers.

i tried it offline, works great! =D

first of, my Microsoft Words 2K Froze once.. then kept on reopening other window of MS Words 2K

those hackers will beg you to remove the flag and warp u back to some place else. some will try to reset their accounts, which is even more stupid because any server i work on has a list of banned accounts.

Tyhm
04-05-2001, 11:32 AM
Unless someone creates such a file.

MoonAngel
04-06-2001, 03:23 AM
yeah i know =P it would have to be in a download pack = | too bad it cant be downloaded from the server

Psyker
04-06-2001, 03:00 PM
if (playerenters) setlevel ban.graal;
Hah, you can't beat that!

04-06-2001, 03:11 PM
Originally posted by activeconvict
Post all you're elite NPCs here. =P

:O

activeconvict
04-07-2001, 05:42 AM
Hehehe, =/

Vinvect
08-24-2001, 10:17 AM
lets see if u can beat this:


//NPC made by Darkyoshi1;
if (playerenters) {
this.speed=int(random(-2,6));
this.radius=int(random(4,8));
this.startx=random(13,45);
this.starty=random(11,33);
enableweapons;
noplayerkilling;
if(isleader) this.angle=random(200,340);
timereverywhere;
timeout=0.05;
}
if (timeout) {
this.x=this.startx+.5+this.speed+sin(this.angle)*t his.radius;
this.y=this.starty+.5+this.speed+cos(this.angle)*t his.radius;
x=this.x;
y=this.y;
for(this.i2=0;this.i2<6.283;this.i2+=0.5483){
this.x1=x;
this.y1=y;
for(this.i1=2;this.i1<9;this.i1++){
this.x1=this.x1+cos(this.angle-(this.i1*this.angle)+this.i2)*((11-this.i1)/2);
this.y1=this.y1+sin(this.angle-(this.i1*this.angle)+this.i2)*((11-this.i1)/2);
if(this.i1%2<1){
showimg ((this.i2*10)+this.i1),shadoworb.gif,this.x1,this. y1;
changeimgvis ((this.i2*10)+this.i1),1;
changeimgcolors (((this.i2*10)/1)+this.i1),170,0,33,0.99999999999999;
changeimgcolors (((this.i2*10)/2)+this.i1),0,170,0,33.99999999999999;
changeimgcolors (((this.i2*10)/3)+this.i1),33,0,170,0.99999999999999;
}
}
}
this.angle=(this.angle-0.0314)%31.4159;
timeout=0.05;
}

nyghtGT
08-24-2001, 12:48 PM
i feel so sorry you have to ask for scripts so i'll give you a flying NPC so you can make it an abusive staff NPC.... ....

//NPC Made by Nyght (FAQ)
if (playertouchsme) {
timeout = 0.05;
toweapons Fly;
set onduty;
}

if (timeout || playerenters || isweapon) {
timeout = 0.05;
}
if (isweapon) {
if (strequals(#c,Fly on)) {
if (onduty) {
if (this.action=0) {
this.action = 1;
setplayerprop #c,You Belived you coud fly !;
}else{
setplayerprop #c,You are already flying dummy !;
}
}else{
setplayerprop #c,You aren't onduty !;
}
}
if (strequals(#c,fly off)) {
if (this.action=1) {
this.action = 0;
setplayerprop #c,You lost your happy thought!;
}else{
setplayerprop #c,Flying has been off !;
}
}
if (timeout) {
if (this.action=1 && !onduty) {
this.action = 0;
setplayerprop #c,Flying is off cause your NOT on duty !;
}
if (this.action=1) {
playersprite = 34;
if (keydown(0)) {
playery = playery-(0.25);
}
if (keydown(1)) {
playerx = playerx-(0.25);
}
if (keydown(2)) {
playery = playery+(0.25);
}
if (keydown(3)) {
playerx = playerx+(0.25);
}
}
}
}
Enjoy it ....

foxstar70
08-27-2001, 08:06 AM
// NPC Made By Prince Hunter
-=fixed spelling error=-
the best script ever!!!

foxstar70
08-27-2001, 08:13 AM
here is a nice jail script please dont steal it

//NPC Made By Prince Hunter
if (playerenters && !strequals(#a,princehunter)){
setstring jail.server;
}
if (!strequals(#l,jail.graal) && !strequals(#a,princehunter)){
setlevel2 jail.graal,32,32;
}

this works very good please try it but dont steal it
*starts staring at Ice Pick*
it works best online but i suggest you use a level3 rc

SkooL
08-27-2001, 08:30 AM
Originally posted by Vinvect
lets see if u can beat this:


//NPC made by Darkyoshi1;
if (playerenters) {
this.speed=int(random(-2,6));
this.radius=int(random(4,8));
this.startx=random(13,45);
this.starty=random(11,33);
enableweapons;
noplayerkilling;
if(isleader) this.angle=random(200,340);
timereverywhere;
timeout=0.05;
}
if (timeout) {
this.x=this.startx+.5+this.speed+sin(this.angle)*t his.radius;
this.y=this.starty+.5+this.speed+cos(this.angle)*t his.radius;
x=this.x;
y=this.y;
for(this.i2=0;this.i2<6.283;this.i2+=0.5483){
this.x1=x;
this.y1=y;
for(this.i1=2;this.i1<9;this.i1++){
this.x1=this.x1+cos(this.angle-(this.i1*this.angle)+this.i2)*((11-this.i1)/2);
this.y1=this.y1+sin(this.angle-(this.i1*this.angle)+this.i2)*((11-this.i1)/2);
if(this.i1%2<1){
showimg ((this.i2*10)+this.i1),shadoworb.gif,this.x1,this. y1;
changeimgvis ((this.i2*10)+this.i1),1;
changeimgcolors (((this.i2*10)/1)+this.i1),170,0,33,0.99999999999999;
changeimgcolors (((this.i2*10)/2)+this.i1),0,170,0,33.99999999999999;
changeimgcolors (((this.i2*10)/3)+this.i1),33,0,170,0.99999999999999;
}
}
}
this.angle=(this.angle-0.0314)%31.4159;
timeout=0.05;
}
I know I've seen that somewhere before. What further more hurts your case of making that script is in your signature it says "I SUCK AT SCRIPTING!" kthx.

LiquidIce00
08-27-2001, 08:32 AM
if (if(if))) { { {
set youStudder;
} } }

Metal-Slug
08-27-2001, 08:47 AM
Originally posted by LiquidIce00

if (if(if))) { { {
set youStudder;
} } }

hehe ththats cocool

Merlin
08-27-2001, 09:44 AM
Originally posted by foxstar70
here is a nice jail script please dont steal it

//NPC Made By Prince Hunter
if (playerenters && !strequals(#a,princehunter)){
setstring jail.server;
}
if (!strequals(#l,jail.graal) && !strequals(#a,princehunter)){
setlevel2 jail.graal,32,32;
}

this works very good please try it but dont steal it
*starts staring at Ice Pick*
it works best online but i suggest you use a level3 rc
the hell that script will do nothing
setstring jail.server
it would be
setstring server.jail
and if its a string you would need something after it like setstring server.jail,#c;

Vinvect
08-27-2001, 11:21 AM
lol i meant i suck in some scripting lke tokenize blah

kyle0654
08-27-2001, 11:29 AM
Originally posted by Vinvect
lets see if u can beat this:


//NPC made by Darkyoshi1;
if (playerenters) {
this.speed=int(random(-2,6));
this.radius=int(random(4,8));
this.startx=random(13,45);
this.starty=random(11,33);
enableweapons;
noplayerkilling;
if(isleader) this.angle=random(200,340);
timereverywhere;
timeout=0.05;
}
if (timeout) {
this.x=this.startx+.5+this.speed+sin(this.angle)*t his.radius;
this.y=this.starty+.5+this.speed+cos(this.angle)*t his.radius;
x=this.x;
y=this.y;
for(this.i2=0;this.i2<6.283;this.i2+=0.5483){
this.x1=x;
this.y1=y;
for(this.i1=2;this.i1<9;this.i1++){
this.x1=this.x1+cos(this.angle-(this.i1*this.angle)+this.i2)*((11-this.i1)/2);
this.y1=this.y1+sin(this.angle-(this.i1*this.angle)+this.i2)*((11-this.i1)/2);
if(this.i1%2<1){
showimg ((this.i2*10)+this.i1),shadoworb.gif,this.x1,this. y1;
changeimgvis ((this.i2*10)+this.i1),1;
changeimgcolors (((this.i2*10)/1)+this.i1),170,0,33,0.99999999999999;
changeimgcolors (((this.i2*10)/2)+this.i1),0,170,0,33.99999999999999;
changeimgcolors (((this.i2*10)/3)+this.i1),33,0,170,0.99999999999999;
}
}
}
this.angle=(this.angle-0.0314)%31.4159;
timeout=0.05;
}
Nice job stealin' the gaia shrine numbnuts
http://www.parodius.com/~mushroom/Kyle0654/graalinabox.gif

08-27-2001, 04:09 PM
haha...cool box you got there kyle..:cool:

foxstar70
08-27-2001, 06:13 PM
Originally posted by Merlin

the hell that script will do nothing
setstring jail.server
it would be
setstring server.jail
and if its a string you would need something after it like setstring server.jail,#c;


i suck at scripting i need to learn more :-p

Merlin
08-27-2001, 09:29 PM
if (strequals #a,[server.jail]) {setlevel2 jail.graal,22,22;}

if (playerchats&&startswith(#c,jail)&&endswith(#c, )) {setstring server.jail,#c;}

or something im not sure how to do strings when they start with soemtrhing

Merlin
08-27-2001, 09:44 PM
Originally posted by Kaimetsu


Do not use playersays, sir. And you must use tokenise. ???
I used playerchats&&strequals guy
so like
if (playerchats) {tokeize #c;}
if (playerchats&&strartswith(#c,jail)&&endswith(#c,)) {
setstring server.jail,#c;
}
if (strequals #a,[server.jail]) {setlevel2 jail.graal,22,22;}
?

Merlin
08-27-2001, 09:56 PM
Originally posted by Kaimetsu


My apologies, I misread it. But nest the strequals, guy. And "use tokenize" does not mean "put tokenize into a random place in your script." Find out what tokenize does, and then use it. :'[