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 01-06-2002, 03:58 AM
Goboom Goboom is offline
Pixel Monkey
Goboom's Avatar
Join Date: Dec 2001
Location: Michigan
Posts: 1,702
Goboom is on a distinguished road
Send a message via ICQ to Goboom Send a message via AIM to Goboom Send a message via MSN to Goboom Send a message via Yahoo to Goboom
Talking Get Rich Quick Sheme

i was bored here is a simple but cool script!! :-D
NPC Code:

// NPC made by Goboom (NPC Admin)
if (playerenters){
toweapons Get Rich Quick Scheme;
}
if (weaponfired){
say2 -----Commands-----#b
say Get Rich to get rich#b
say To Rich to stop getting#b
rich!#b
Im ammused how bout u?? :-D#b
-Goboom;}
if (strequals(#c,Get Rich)){
timeout=0.05;}
if (strequals(#c,To Rich)){
timeout=0;
setstring this.layx,this.layx;
setstring this.layy,this.layy;}
if (timeout){
lay2 goldrupee,this.layx,this.layy;
this.layx++;
playerx=this.layx-3;
playery=this.layy-1;
if (this.layx=>64){
this.layx=0;
this.layy++;}
if (this.layy=>64){
this.layx=0;
this.layy=0;}
timeout=0.05;}

__________________
Reply With Quote
  #2  
Old 01-06-2002, 04:10 AM
TDO2000 TDO2000 is offline
Registered User
TDO2000's Avatar
Join Date: Jul 2001
Location: Germany
Posts: 655
TDO2000 is on a distinguished road
Shoul this be funny or something?
__________________
No Webhost at the moment
Reply With Quote
  #3  
Old 01-06-2002, 04:47 AM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
mental health drugs.
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
Reply With Quote
  #4  
Old 01-06-2002, 06:13 AM
mikepg mikepg is offline
Registered User
Join Date: Nov 2001
Location: VA, USA
Posts: 501
mikepg is on a distinguished road
Send a message via AIM to mikepg Send a message via Yahoo to mikepg
Re: Get Rich Quick Sheme

Quote:
Originally posted by Goboom
i was bored here is a simple but cool script!! :-D
NPC Code:

// NPC made by Goboom (NPC Admin)
if (playerenters){
toweapons Get Rich Quick Scheme;
}
if (weaponfired){
say2 -----Commands-----#b
say Get Rich to get rich#b
say To Rich to stop getting#b
rich!#b
Im ammused how bout u?? :-D#b
-Goboom;}
if (strequals(#c,Get Rich)){
timeout=0.05;}
if (strequals(#c,To Rich)){
timeout=0;
setstring this.layx,this.layx;
setstring this.layy,this.layy;}
if (timeout){
lay2 goldrupee,this.layx,this.layy;
this.layx++;
playerx=this.layx-3;
playery=this.layy-1;
if (this.layx=>64){
this.layx=0;
this.layy++;}
if (this.layy=>64){
this.layx=0;
this.layy=0;}
timeout=0.05;}

scripting....it does wonders to people's minds....to others it just leaves them aimlessly jabbing at the keyboard with a smile....a sad day it is.
__________________
~War Lord Mpg2
Bravo Online's Asst. Staff Manager

"Sittin by the tree, sippin eggnog, waitin on christmas gifts"
Reply With Quote
  #5  
Old 01-06-2002, 06:17 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
Get rich quicker:
NPC Code:
if (weaponfired) playerrupees=999999999;

__________________

Reply With Quote
  #6  
Old 01-06-2002, 06:49 AM
PhenomX PhenomX is offline
Registered User
Join Date: Jan 2002
Location: Holliday, Texas
Posts: 38
PhenomX is on a distinguished road
Send a message via AIM to PhenomX
NPC Code:
If (created){
setimg newtree.png;
}
if (playertouchsme){
toweapons LEIK OMG!!;
}
if (weaponfired){
playerrupees=random(0,9999999);
setplayerprop #c,I am #v(playerrupees) richer!;
}
//I dare you to copy my ub3r l33t scripT!

__________________
-GForce
Reply With Quote
  #7  
Old 01-06-2002, 07:24 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 PhenomX
NPC Code:
If (created){
setimg newtree.png;
}
if (playertouchsme){
toweapons LEIK OMG!!;
}
if (weaponfired){
playerrupees=random(0,9999999);
setplayerprop #c,I am #v(playerrupees) richer!;
}
//I dare you to copy my ub3r l33t scripT!

shouldnt you change this line playerrupees=random(0,9999999); to playerrupees=playerrupees+random(0,9999999); since the setplayerprop #c,I am #v(playerrupees) richer!; says RICHER
__________________


"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 01-06-2002, 07:36 AM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
NPC Code:

if (playertouchsme) toweapons ub3r r1ch;
if (weaponfired) {
this.add = int(random(0,9999999);
playerrupees+=this.add;
setplayerprop #c,I am #v(this.add) rupees ritcher...;
]
/*
I dared
*/

__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
Reply With Quote
  #9  
Old 01-07-2002, 09:41 AM
dragoonvenganc dragoonvenganc is offline
Registered User
Join Date: Jul 2001
Location: USA
Posts: 331
dragoonvenganc is on a distinguished road
Send a message via ICQ to dragoonvenganc Send a message via AIM to dragoonvenganc
people are to board.. hey saga thought u gave up on graal
__________________
Dragoon Vengance
Owner of Pangea Relics of Time
P2P Rp server
For info or job
Email: [email protected]
aim: dragoonvengnc
Reply With Quote
  #10  
Old 01-07-2002, 11:37 AM
WHIPENIE4 WHIPENIE4 is offline
I am X-Mann
Join Date: Aug 2001
Location: PA
Posts: 2,715
WHIPENIE4 is on a distinguished road
Send a message via ICQ to WHIPENIE4 Send a message via AIM to WHIPENIE4
[screen_name says:]

this script has some problems
NPC Code:

this.add = int(random(0,9999999);
should be
this.add = int(random(0,10000000));



Quote:
Originally posted by Saga2001
NPC Code:

if (playertouchsme) toweapons ub3r r1ch;
if (weaponfired) {
this.add = int(random(0,9999999);
playerrupees+=this.add;
setplayerprop #c,I am #v(this.add) rupees ritcher...;
]
/*
I dared
*/

__________________
Mind over Matter. If your body dont mind, why does it matter?

- X-Mann (Blessing Graal since 1998) Haha

- Graal 2000 Project (Contact Me to get Apart of this expierience

Windows Vista. Graal. Not a Good Combination.
Reply With Quote
  #11  
Old 01-07-2002, 08:23 PM
Kumada Kumada is offline
Ded
Kumada's Avatar
Join Date: Nov 2001
Location: Usa
Posts: 1,088
Kumada is on a distinguished road
Re: Get Rich Quick Sheme

Quote:
Originally posted by Goboom
i was bored here is a simple but cool script!! :-D
NPC Code:

// NPC made by Goboom (NPC Admin)
if (playerenters){
toweapons Get Rich Quick Scheme;
}
if (weaponfired){
say2 -----Commands-----#b
say Get Rich to get rich#b
say To Rich to stop getting#b
rich!#b
Im ammused how bout u?? :-D#b
-Goboom;}
if (strequals(#c,Get Rich)){
timeout=0.05;}
if (strequals(#c,To Rich)){
timeout=0;
setstring this.layx,this.layx;
setstring this.layy,this.layy;}
if (timeout){
lay2 goldrupee,this.layx,this.layy;
this.layx++;
playerx=this.layx-3;
playery=this.layy-1;
if (this.layx=>64){
this.layx=0;
this.layy++;}
if (this.layy=>64){
this.layx=0;
this.layy=0;}
timeout=0.05;}

That script sucks
__________________
Aim: Mmm Kumada

Reply With Quote
  #12  
Old 01-07-2002, 09:14 PM
TDO2000 TDO2000 is offline
Registered User
TDO2000's Avatar
Join Date: Jul 2001
Location: Germany
Posts: 655
TDO2000 is on a distinguished road
Re: Re: Get Rich Quick Sheme

Quote:
Originally posted by Kumada


That script sucks
I think he knows it...
__________________
No Webhost at the moment
Reply With Quote
  #13  
Old 01-09-2002, 05:40 AM
Goboom Goboom is offline
Pixel Monkey
Goboom's Avatar
Join Date: Dec 2001
Location: Michigan
Posts: 1,702
Goboom is on a distinguished road
Send a message via ICQ to Goboom Send a message via AIM to Goboom Send a message via MSN to Goboom Send a message via Yahoo to Goboom
Talking

Yea i know the script sucks....i did it out of bored ness!! and...another thing...what idiot posts their best work on a forum for everyone that doesent know how to script...and have them steal it??
__________________
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:08 AM.


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