Jump to content
  • 0

Simple online GM script?


GreenMagic793

Question


  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  157
  • Reputation:   18
  • Joined:  08/18/15
  • Last Seen:  

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.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  265
  • Reputation:   95
  • Joined:  09/30/14
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  81
  • Topics Per Day:  0.02
  • Content Count:  1654
  • Reputation:   583
  • Joined:  08/09/12
  • Last Seen:  

Hmm.. Use Nova's suggestion :)

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2345
  • Joined:  10/28/11
  • Last Seen:  

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