Jump to content

adrian26v2

Members
  • Content Count

    35
  • Joined

  • Last visited


Reputation Activity

  1. Upvote
    adrian26v2 reacted to jaBote in Announce Emperium Breaker   
    Nope, it happens with current npc/guild/agit_main.txt file:
     
      // Respawn the Emperium, and display new owners. sleep 500; // Slow down script execution slightly. if( agitcheck() ) donpcevent "Agit#"+strnpcinfo(2)+"::OnStartArena"; sleep 7000; announce "The [" + getcastlename(strnpcinfo(2)) + "] castle has been conquered by the [" + getguildname(.@GID) + "] guild.",bc_all|bc_woe; end;  
    The sleep script command detaches RID from script, so it won't be able to get any user name with strcharinfo() and push an empty string. Either get the char name before the sleep commands and save to a temporary variable, or change all sleep to sleep2, which will retain attached RID to the script.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.