Jump to content
  • 0

Announce # of people on Pub upon entry


Question

Posted

Im trying to create a acript which will announce the number of player inside a pub on entry, but i cant seem to trigger the waiting room after adding "@set". Can someone help me with this?

 

quiz_00,17,114,4	script	Waiting	726,{
end;
OnInit:
    waitingroom "Waiting Room",8,"Waiting2::OnStart",1;
    end;
}

-	script	Waiting2	-1,{
	end;
OnStart:
	set .@join getwaitingroomstate(0,"Waiting");
    announce  .@join + " People Inside!",bc_blue|bc_all;
    end;

}

 

2 answers to this question

Recommended Posts

  • 0
Posted
*set <variable>,<expression>{,<char_id>};
set .@join,getwaitingroomstate(0,"Waiting");

you missed a comma , read the console errors before anything.

  • Upvote 1

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...