Jump to content
  • 0

Question

Posted

Hey guys,

 

I need help with a very simple script that I just can't seem to figure out.

 

All I want to do is make an NPC that displays how many GM's are online. For example, a player would click the npc and it would say "There are 3 Game Masters online".

 

It would be even better if it said the name of each GM that was online but I'll take anything, I just want my players to be able to see how many/which GM's are online and for some reason I can't seem to figure out how to do it. Thanks for the help.

3 answers to this question

Recommended Posts

Posted (edited)

Make a onpclogon event which checks your GM level. End if < 6 or whatever your cutoff for GM is.

On login, $GMsOnline += 1; On log out -= 1; then just have the NPC have a mes $GMsOnline;

Sorry for the bad formatting. On mobile. Google is your friend as far as finding the proper commands.

Edited by Nova

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...