Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > New Scripting Engine (GS2)
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #13  
Old 08-12-2007, 08:57 PM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Quote:
Originally Posted by zokemon View Post
Yeah, if you don't know what every line in a script is doing, you should be prepared for people making such states towards you if you try to explain what's wrong. Not trying to persuade you from giving advice but rather you should learn more about GS2 first .
QUOTED FOR TRUTH

It was so extremely irritating to have the GST tell me how my script was wrong when they didn't understand jack-**** about what it was doing.

http://forums.graalonline.com/forums...t=73340&page=2

Anyhow...
PHP Code:
  if (params[0] == "addquantity") {
    for (
temp.0clientr.items.size(); ++) {
      if (
clientr.items[i][0] == params[1]) {
        
clientr.items[i][1] += params[2];
        break;
      }
    }
  } 
You shouldn't be using client flags for long strings of data unless you plan to never use the /open command on RC.
__________________
Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 09:49 PM.


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