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-07-2001, 08:02 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Question Selling with strings?

Say if you had 20 pearls, how would you get it to give you 20 g when you told them 'Sell Pearls'?
Reply With Quote
  #2  
Old 10-07-2001, 08:15 AM
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
Re: Selling with strings?

Quote:
Originally posted by Python523
Say if you had 20 pearls, how would you get it to give you 20 g when you told them 'Sell Pearls'?
everyone, plz tell him to lok for my: A Scripting Question topic.
its the one with this(the one above^) script.
__________________
==========================
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
  #3  
Old 10-07-2001, 09:34 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
if(playerchats&&strequals(#c,sell bugs)){
playerrupees+= bugcount / 15; setstring bugcount,0;
}
that's what I have so far
It sets the bugcount to 0 but it wont give me 1 gralet for every 15, did I do something wrong?
Reply With Quote
  #4  
Old 10-07-2001, 10:02 AM
Knightoffrost Knightoffrost is offline
and Delph Inc.
Knightoffrost's Avatar
Join Date: Jul 2001
Location: Canada
Posts: 1,162
Knightoffrost is on a distinguished road
Send a message via ICQ to Knightoffrost Send a message via AIM to Knightoffrost Send a message via Yahoo to Knightoffrost
[ Delph Inc. ]

for (i=0;i<#s(pearlcount);i++) {
playerrupees+=i;
}
__________________
Xerphier Dintch
Featuring
Reply With Quote
  #5  
Old 10-07-2001, 02:32 PM
Providence_RC1 Providence_RC1 is offline
Banned
Join Date: Oct 2001
Posts: 52
Providence_RC1 is on a distinguished road
if (playerchats) {
if (strequals(#c,sell stuff)) {
playerrupees = + #s(client.stuff);
setstring client.stuff,0;
}
}
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 06:45 AM.


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