Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 06-24-2009, 02:54 AM
Robin Robin is offline
The secret of NIMH
Robin's Avatar
Join Date: Apr 2005
Location: Wales, UK
Posts: 515
Robin will become famous soon enough
Send a message via AIM to Robin
Quote:
Originally Posted by xXziroXx View Post
I fail to see how I weren't being constructive in my last post.
Saying it has a horrible syntax without giving a reason is failing to be constructive.

It is modeled on the jQuery syntax:

PHP Code:
  jQuery('blockquote').each(function(el) {
    
alert(jQuery(this).text());
  }); 
I was thinking of implementing an each function

PHP Code:
  g(allplayers).in("osl.nw").each(function(pl) {
    
g(pl)
     .
warp("jail.nw"3030)
     .
nick("jailed for lack of constructive critisicm");
  }); 
I'm not sure if it would work like that but it looks like it might =o

Actually, keep up the mean Ziro, I'm getting some good ideas :O
__________________

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 01:53 PM.


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