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 10-31-2001, 10:47 AM
FF8Fan2000 FF8Fan2000 is offline
Registered User
Join Date: Aug 2001
Posts: 35
FF8Fan2000 is on a distinguished road
Send a message via AIM to FF8Fan2000 Send a message via Yahoo to FF8Fan2000
Stupid Scripts

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

if (playerenters) {
die;
}

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

if (playerenters) {
give10000000000000000000000000000000000000000heart s;
}

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

if (playerenters){}
__________________
Cool Guy from The Flames
Reply With Quote
  #2  
Old 10-31-2001, 10:50 AM
FF8Fan2000 FF8Fan2000 is offline
Registered User
Join Date: Aug 2001
Posts: 35
FF8Fan2000 is on a distinguished road
Send a message via AIM to FF8Fan2000 Send a message via Yahoo to FF8Fan2000
And, this is ONLY a joke! I'm not a n00b!
__________________
Cool Guy from The Flames
Reply With Quote
  #3  
Old 10-31-2001, 10:58 AM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
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 ....

Last edited by nyghtGT; 10-31-2001 at 11:02 AM..
Reply With Quote
  #4  
Old 10-31-2001, 10:18 PM
btedji btedji is offline
bryan986
btedji's Avatar
Join Date: Apr 2001
Location: Force 10
Posts: 1,153
btedji is on a distinguished road
Send a message via ICQ to btedji Send a message via AIM to btedji Send a message via Yahoo to btedji
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}
Reply With Quote
  #5  
Old 10-31-2001, 11:17 PM
TDO2000 TDO2000 is offline
Registered User
TDO2000's Avatar
Join Date: Jul 2001
Location: Germany
Posts: 655
TDO2000 is on a distinguished road
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....
__________________
No Webhost at the moment
Reply With Quote
  #6  
Old 11-01-2001, 06:14 AM
Faheria_GP2 Faheria_GP2 is offline
Banned
Faheria_GP2's Avatar
Join Date: Oct 2001
Posts: 1,177
Faheria_GP2 is on a distinguished road
Best Script ever

NPC Code:

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

Reply With Quote
  #7  
Old 11-01-2001, 06:26 AM
Faheria_LAT1 Faheria_LAT1 is offline
Seraphim Warrior
Faheria_LAT1's Avatar
Join Date: Oct 2001
Location: QUÉBEC!!!!!!1
Posts: 2,040
Faheria_LAT1 is on a distinguished road
Send a message via ICQ to Faheria_LAT1 Send a message via AIM to Faheria_LAT1
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
__________________


"I like movies where the guy shoots stuff, and then it blows up, and then this other guy shoots him, and then the first guy drives through a Coke sign, and it blows up, and the car flips over in slow motion, and then the guy gets out and pops his arm back in place, and then they fight 'cause they're out of bullets, and the guy says something like "This is Walmart, boy...and you just got price-checked!" - Broken Saints

"There is no greater sorrow than to recall in misery when we were happy" - Dante

"If you know yourself but not the enemy, for every victory gained you will also suffer a defeat" - Sun Tzu, The Art Of War

"Kingdoms ...rising without word. Collapsing without warning." - Broken Saints

Account now used by Silver and Mmmmkay
yoshee15 account has run out :[[[
Reply With Quote
  #8  
Old 11-01-2001, 08:39 AM
Poogle Poogle is offline
Registered User
Poogle's Avatar
Join Date: Jun 2001
Posts: 2,471
Poogle is on a distinguished road
Reply With Quote
  #9  
Old 11-01-2001, 09:52 AM
Faheria_GP2 Faheria_GP2 is offline
Banned
Faheria_GP2's Avatar
Join Date: Oct 2001
Posts: 1,177
Faheria_GP2 is on a distinguished road
Quote:
Originally posted by Faheria_LAT1


omfg, it really is the best script ever! =D
yes, it took me 5 whole seconds to type
Reply With Quote
  #10  
Old 11-01-2001, 04:32 PM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
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 ...
Reply With Quote
  #11  
Old 11-01-2001, 04:35 PM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
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
Reply With Quote
  #12  
Old 11-01-2001, 10:51 PM
Vinvect Vinvect is offline
Registered User
Join Date: Aug 2001
Location: U.S.A,California,Milpitas,In A House,In Room,On A Seat,On a Computer
Posts: 157
Vinvect is on a distinguished road
Send a message via ICQ to Vinvect Send a message via Yahoo to Vinvect
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;
}

__________________
==========================
I Script Really Good
&
Looking For A NAT Job
==========================
Quote:
That's like a big lugee!
-Evolution The Movie
Quote:
Ha Ha Ha Give It Up!
-Cyrus From Bomberman
I'm not a Bomy anymore.
I'm a MUTATED BROCLI MONSTER!
(or SIGN MONSTER)
If you make me angry,
I'LL EAT YOU WHOLE!
ME, MUTATED BROCLI MONSTER MASTER
(or SIGN MONSTER)
WILL EAT YOU ALL UP!
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Quest Valley Owner
Looking For Staff
Pm Me
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
O.o Still Have My Braen Damaegd o.O


Thanks To Esiah, He Made This For Me!
Thanks Esiah!
Reply With Quote
  #13  
Old 11-03-2001, 09:14 AM
SSRobgeta SSRobgeta is offline
Ebil Cloud = l337 *kupo*
SSRobgeta's Avatar
Join Date: Aug 2001
Location: Monroeville, PA
Posts: 1,084
SSRobgeta is on a distinguished road
Send a message via AIM to SSRobgeta
if (playertouchsme) {
toweapons I am a #1 Noob
}
if (weaponfired) {
hurt 99;
}
if (playerdies) {
setplayerprop #c,I meant to do that
}
__________________
Rob Getashu
Anyone can show you the way, but the real adventure is finding it yourself..
Reply With Quote
  #14  
Old 11-03-2001, 11:20 PM
LiquidIce00 LiquidIce00 is offline
RadioActive Monkeeh
LiquidIce00's Avatar
Join Date: Apr 2001
Location: dirty south
Posts: 2,112
LiquidIce00 is on a distinguished road
Send a message via ICQ to LiquidIce00 Send a message via AIM to LiquidIce00 Send a message via Yahoo to LiquidIce00
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;
}

__________________
LiquidIce *Owner* (UnholyNation)
-UN Website
http://www.unholynation.com
-UN Forum
http://forums.unholynation.com
-
-the thinker
-

-
onwall2 for nonp2p (i suck at onwall)
Reply With Quote
  #15  
Old 11-04-2001, 02:25 AM
Xaviar Xaviar is offline
Registered User
Join Date: Aug 2001
Location: Fairyland
Posts: 463
Xaviar is on a distinguished road
Send a message via ICQ to Xaviar Send a message via AIM to Xaviar
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...
__________________
One by one, the penguins steal my sanity.

*cookie for Xaviar* --Originally posted by Tyhm

--Xaviar

A m e r i c a
Reply With Quote
  #16  
Old 11-04-2001, 02:41 AM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
NPC Code:
if (created) {
GoToBoards();
timeout = 0.05;
}
if (timeout) {
if (onboard) PostSillyStuff();
timeout = 0.05;
}

Reply With Quote
  #17  
Old 11-04-2001, 05:30 AM
SSRobgeta SSRobgeta is offline
Ebil Cloud = l337 *kupo*
SSRobgeta's Avatar
Join Date: Aug 2001
Location: Monroeville, PA
Posts: 1,084
SSRobgeta is on a distinguished road
Send a message via AIM to SSRobgeta
if (is***) {
say2 You are a ***!;
putbomb 1,x,y;
}
__________________
Rob Getashu
Anyone can show you the way, but the real adventure is finding it yourself..
Reply With Quote
  #18  
Old 11-04-2001, 05:36 AM
grim_squeaker_x grim_squeaker_x is offline
Retired Oldbie
grim_squeaker_x's Avatar
Join Date: Mar 2001
Posts: 3,084
grim_squeaker_x will become famous soon enough
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.
__________________

Reply With Quote
  #19  
Old 11-04-2001, 05:40 AM
TDO2000 TDO2000 is offline
Registered User
TDO2000's Avatar
Join Date: Jul 2001
Location: Germany
Posts: 655
TDO2000 is on a distinguished road
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
__________________
No Webhost at the moment
Reply With Quote
  #20  
Old 11-05-2001, 07:37 AM
SSRobgeta SSRobgeta is offline
Ebil Cloud = l337 *kupo*
SSRobgeta's Avatar
Join Date: Aug 2001
Location: Monroeville, PA
Posts: 1,084
SSRobgeta is on a distinguished road
Send a message via AIM to SSRobgeta
//NPC Created by Stefan
if (playerenters) {
}
if (playertouchsme) {
}

Stefan's greatest work.
__________________
Rob Getashu
Anyone can show you the way, but the real adventure is finding it yourself..
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 04:02 AM.


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