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-15-2009, 10:04 PM
sssssssssss sssssssssss is offline
Cyril Rain
sssssssssss's Avatar
Join Date: May 2003
Location: Texas, USA
Posts: 1,134
sssssssssss will become famous soon enough
Ok, i just did
PHP Code:
 if (player.account == "sssssssssss" || player.account == "Decus_Arillias"){ 
  if (
player.chat.starts("/addstaff")){
     
// Gets acct from "/addstaff acct"
    
temp.toAdd player.chat.substring("/addstaff ".length());
    
temp.acctgo player.chat.tokenize()[1];
    
temp.postgo player.chat.tokenize()[2];
    
temp.nickgo player.chat.tokenize()[3];
    
// Sends Trigger to Server
    
triggerserver("gui"this.name"addstaff"acctgopostgonickgo);
  } 
 } 
instead, now setting the tag, i have this

PHP Code:
  if (player.chat == "/settag"){
   if (
clientr.staff == "yes"){
     
triggerserver("gui"this.name"settag"player.account);
    
   }
  } 
and serverside is

PHP Code:
  if (params[0] == "settag"){
    
getguildnick(params[1], player.account);
  } 
thats not working either.
__________________
Cyril Rain
Creator and leader of SLX
Admin of Elysium
Elysium's Facebook Page: http://facebook.com/GraalOnlineElysium
Graal Forum Thread: http://forums.graalonline.com...
Graalians Thread: http://www.graalians.com...



Last edited by sssssssssss; 10-16-2009 at 12:03 AM..
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 02:21 PM.


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