Graal Forums  

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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-07-2008, 09:46 PM
Ronnie Ronnie is offline
Registered User
Join Date: Jun 2008
Location: Nj, USA
Posts: 48
Ronnie is on a distinguished road
Send a message via AIM to Ronnie
Removing the guild.

Okay, so I have a function , "getplayers", and in this function I have it remove all the *'s from there nick, But my problem is how would I remove the guilds in there nicks in the list without removing it from there player? and i'm not sure if I can even use substrings on this since I don't know how long the guilds are for each person.

PHP Code:
function getPlayers() {
  
temp.str this.listed;
  
temp.str replacetext(str"*""");
  
newtext str;
  
this.listed newtext
//This works , but now how would I remove the guilds!
  


-Thanks in advance
Ronnie
Reply With Quote
 


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:30 AM.


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