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
Old 09-08-2011, 02:41 AM
furry_mougle furry_mougle is offline
big heart
furry_mougle's Avatar
Join Date: Aug 2011
Posts: 42
furry_mougle is an unknown quantity at this point
Serverside substring

how would I pass temp.tag serverside? it only registers clientside

edit: mark got it

PHP Code:
function onActionServerSide(cmd) {
  if (
cmd == "tag") {
player.guild temp.tag;
  if (
cmd == "emptytag"){
player.guild "";


function onPlayerChats(){
temp.tag"/tag ".length());
  if ("/tag ") && player.guild == "" ) {
triggerserver("gui",,"tag"); // triggers params tag and sets player guild "Tag set to: " temp.tag;
  } else if( == "/tag" && player.guild != "" ){
triggerserver("gui",,"emptytag"); "";

Originally Posted by ffcmike View Post
But make sure to change beer.png to Orange Juice.
pay bills to play graal

Last edited by furry_mougle; 09-08-2011 at 03:13 AM..
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 06:54 AM.

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