Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Get Rich Quick Sheme (https://forums.graalonline.com/forums/showthread.php?t=20466)

Goboom 01-06-2002 03:58 AM

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


TDO2000 01-06-2002 04:10 AM

Shoul this be funny or something? :rolleyes:

Saga2001 01-06-2002 04:47 AM

mental health drugs.

mikepg 01-06-2002 06:13 AM

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.

grim_squeaker_x 01-06-2002 06:17 AM

Get rich quicker:
NPC Code:
if (weaponfired) playerrupees=999999999;


PhenomX 01-06-2002 06:49 AM

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!


Faheria_LAT1 01-06-2002 07:24 AM

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 :p

Saga2001 01-06-2002 07:36 AM

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
*/


dragoonvenganc 01-07-2002 09:41 AM

people are to board.. hey saga thought u gave up on graal

WHIPENIE4 01-07-2002 11:37 AM

[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
*/



Kumada 01-07-2002 08:23 PM

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 :(

TDO2000 01-07-2002 09:14 PM

Re: Re: Get Rich Quick Sheme
 
Quote:

Originally posted by Kumada


That script sucks :(

I think he knows it... :rolleyes:

Goboom 01-09-2002 05:40 AM

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??


All times are GMT +2. The time now is 05:07 PM.

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