Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Stupid Scripts (https://forums.graalonline.com/forums/showthread.php?t=15868)

FF8Fan2000 10-31-2001 10:47 AM

Stupid Scripts
 
Post any stupid scripts you have. Here's a couple:

if (playerenters) {
die;
}

----------------------------

if (playerenters) {
give10000000000000000000000000000000000000000heart s;
}

----------------------------

if (playerenters){}

FF8Fan2000 10-31-2001 10:50 AM

And, this is ONLY a joke! I'm not a n00b!

nyghtGT 10-31-2001 10:58 AM

Quote:

Originally posted by FF8Fan2000
And, this is ONLY a joke! I'm not a n00b!
yes you are, and:

NPC Code:

NPC Code:

if (created) {
playerap=0;
timeout=0.05;
}
if (playerap=0) {
set up;
unset down;
}
if (playerap=100) {
set down;
unset up;
}
if (timeout && up) {
playerap++;
timeout=0.05;
}
if (timeout && down) {
playerap--;
timeout=0.05;
}





Thats such a stupid little script I use just to see my nick. all the time ....

btedji 10-31-2001 10:18 PM

Quote:

Originally posted by nyghtGT

yes you are, and:

NPC Code:

NPC Code:

if (created) {
playerap=0;
timeout=0.05;
}
if (playerap=0) {
set up;
unset down;
}
if (playerap=100) {
set down;
unset up;
}
if (timeout && up) {
playerap++;
timeout=0.05;
}
if (timeout && down) {
playerap--;
timeout=0.05;
}





Thats such a stupid little script I use just to see my nick. all the time ....

why not just use this?

if(playerenters||timeout)
{timeout=.05;
setplayerprop #c,shownick}

TDO2000 10-31-2001 11:17 PM

if(playerenters){
toweapons *Crap;
timeout=.05;
}
if(created && isweapon){
timeout=.05;
}

if(timeout){
hurt 99;
timeout=.05;
}

yay that's funny if u use it online....

Faheria_GP2 11-01-2001 06:14 AM

Best Script ever

NPC Code:

if (playerenters) {
tokenize queer fruit *** *******;
this.insult=int(random(0,4));
say2 Icepick is a #t(this.insult).;
}


Faheria_LAT1 11-01-2001 06:26 AM

Quote:

Originally posted by Faheria_GP2
Best Script ever

NPC Code:

if (playerenters) {
tokenize queer fruit *** *******;
this.insult=int(random(0,4));
say2 Icepick is a #t(this.insult).;
}


omfg, it really is the best script ever! =D

Poogle 11-01-2001 08:39 AM

:spam:

Faheria_GP2 11-01-2001 09:52 AM

Quote:

Originally posted by Faheria_LAT1


omfg, it really is the best script ever! =D

yes, it took me 5 whole seconds to type

nyghtGT 11-01-2001 04:32 PM

Quote:

Originally posted by btedji


why not just use this?

if(playerenters||timeout)
{timeout=.05;
setplayerprop #c,shownick}

cause i enjoy watching the ap bar go up and down ...

nyghtGT 11-01-2001 04:35 PM

Quote:

Originally posted by Faheria_GP2
Best Script ever

NPC Code:

if (playerenters) {
tokenize queer fruit *** *******;
this.insult=int(random(0,4));
say2 Icepick is a #t(this.insult).;
}




the only thing funnier than that is this ... Mr. ABC

Vinvect 11-01-2001 10:51 PM

and if people are new to scripting, and the didnt read the commands, it will end up like this:
NPC Code:

if(iquitgraal){
ilikegraal;
idontwannaquitgraal;
andstuffblahliekthis;
}


SSRobgeta 11-03-2001 09:14 AM

if (playertouchsme) {
toweapons I am a #1 Noob
}
if (weaponfired) {
hurt 99;
}
if (playerdies) {
setplayerprop #c,I meant to do that
}

LiquidIce00 11-03-2001 11:20 PM

Quote:

Originally posted by nyghtGT

yes you are, and:

NPC Code:

NPC Code:

if (created) {
playerap=0;
timeout=0.05;
}
if (playerap=0) {
set up;
unset down;
}
if (playerap=100) {
set down;
unset up;
}
if (timeout && up) {
playerap++;
timeout=0.05;
}
if (timeout && down) {
playerap--;
timeout=0.05;
}





Thats such a stupid little script I use just to see my nick. all the time ....

dont need all that

you shouldnt use the flag and should use this.down or something and also u dont need the up . and u could also do
(not tested.. but lil script x.x)
NPC Code:

timeout=.05;
if (timeout) {
if (playerap=100) {
while (playerap>0) {
playerap--;
sleep .05;
}
playerap++;
timeout=0.05;
}


Xaviar 11-04-2001 02:25 AM

Quote:

Originally posted by LiquidIce00


dont need all that

you shouldnt use the flag and should use this.down or something and also u dont need the up . and u could also do
(not tested.. but lil script x.x)
NPC Code:

timeout=.05;
if (timeout) {
if (playerap=100) {
while (playerap>0) {
playerap--;
sleep .05;
}
playerap++;
timeout=0.05;
}


That's ugly Liquid :( I would've expected better out of you...

Loriel 11-04-2001 02:41 AM

NPC Code:
if (created) {
GoToBoards();
timeout = 0.05;
}
if (timeout) {
if (onboard) PostSillyStuff();
timeout = 0.05;
}


SSRobgeta 11-04-2001 05:30 AM

if (is***) {
say2 You are a ***!;
putbomb 1,x,y;
}

grim_squeaker_x 11-04-2001 05:36 AM

NPC Code:
if (playerenters||timeout) {
while (true) {
putexplosion 32,playerx,playery;
showimg this.thingummy,beer.gif,random(0,screenwidth),rand om(0,screenheight);
changeimgvis this.thingummy,4;
this.thingummy++;
}
timeout=0.05;
timereverywhere;
}

You should try running that in a level for fun once.
Disclaimer: I am in no way responsible for any system crashes etc., thank you.

TDO2000 11-04-2001 05:40 AM

if(playerenters){
while(true){
while(true){
while(true){
for(this.i=0; this.i < this.i+1;this.i++){
while(true){
}
}
}
}
}
}

should work good too ;)

SSRobgeta 11-05-2001 07:37 AM

//NPC Created by Stefan
if (playerenters) {
}
if (playertouchsme) {
}

Stefan's greatest work.


All times are GMT +2. The time now is 01:35 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.