Thread: Guild Script
View Single Post
  #6  
Old 08-25-2007, 05:26 AM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Quote:
Originally Posted by Kyranki View Post
Should work.
Wrong. Missed a semi-colon.

PHP Code:
function onActionServerside(acctgname) {
  
temp.pl findplayer(acct);
  
temp.pl.guild gname;
}
//#CLIENTSIDE
function onPlayerChats() {
  if (
player.chat.starts("/guild")) {
    
temp.tokens player.chat.tokenize();
    
temp.blah temp.tokens[0].length() + 1;
    
triggerserver("weapon"this.nameplayer.accountplayer.chat.substring(temp.blah));
  }

__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote