Jump to content
  • 0

getguildmaster error


caspa

Question


  • Group:  Members
  • Topic Count:  194
  • Topics Per Day:  0.04
  • Content Count:  499
  • Reputation:   3
  • Joined:  03/11/12
  • Last Seen:  

can somebody help me with this script?

    if( getcastledata( "payg_cas03",1 ) )
                   set .@gotwsize,query_sql( "SELECT `name`, `position` FROM `guild_member` WHERE `guild_id`= '"+ getcastledata( "payg_cas03",1 ) +"' ORDER BY `position` ASC", .@gotwname$, .@position$ );

//--------------------------------------------------------------------------------------------------------------------------------------------
    for( set .@i,0; .@i < .@gotwsize; set .@i,.@i + 1 )
    mes "^008cef"+(.@i+1)+".^000000 "+( .@position$[.@i] == 19 ? "Member" : "Leader" )+" "+ .@gotwname$[ .@i ] +" "+ ( getcharid( 0,.@gotwname$[ .@i ] ) ? "- ^009900[ON]^000000" : "- ^ff0000[OFF]^000000" )+"";

i want to identify the names if its the leader of the members... 

but i'm having this error.. (refer to image attached)

12.PNG

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...