FelipeMartins Posted September 8, 2018 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 174 Reputation: 6 Joined: 07/01/12 Last Seen: December 25, 2022 Share Posted September 8, 2018 I want to create a NPC informing to the players if the GM is online or not. I have an ID of the character. How can I check if my GM is online of not? (script) Quote Link to comment Share on other sites More sharing options...
0 Balfear Posted September 8, 2018 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 256 Reputation: 245 Joined: 07/24/13 Last Seen: March 24 Share Posted September 8, 2018 6 hours ago, FelipeMartins said: I want to create a NPC informing to the players if the GM is online or not. I have an ID of the character. How can I check if my GM is online of not? (script) Hi, you can use my simple script: - script GmOnlineStatus -1,{ OnPCLoginEvent: // Show message when player login if (isloggedin(2000000,150000) == 1) { // isloggedin(Login_id, Char_id) dispbottom "Game master [Balfear] : Online.",0x00FFFF; } else { dispbottom "Game master [Balfear] : Offline.",0xFF0000; } end; } 1 Quote Link to comment Share on other sites More sharing options...
0 Kakaroto Posted September 8, 2018 Group: Members Topic Count: 99 Topics Per Day: 0.02 Content Count: 637 Reputation: 95 Joined: 05/11/12 Last Seen: 14 hours ago Share Posted September 8, 2018 Is it serious? Did you try to at least get the 'search' button on the forum? Quote Link to comment Share on other sites More sharing options...
0 FelipeMartins Posted September 8, 2018 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 174 Reputation: 6 Joined: 07/01/12 Last Seen: December 25, 2022 Author Share Posted September 8, 2018 On 9/8/2018 at 10:15 AM, Kakaroto said: Is it serious? Did you try to at least get the 'search' button on the forum? yes my friend! . I know that is simple, but I don't know how to do it, sorry. Quote Link to comment Share on other sites More sharing options...
0 FelipeMartins Posted September 8, 2018 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 174 Reputation: 6 Joined: 07/01/12 Last Seen: December 25, 2022 Author Share Posted September 8, 2018 4 hours ago, Balfear said: Hi, you can use my simple script: - script GmOnlineStatus -1,{ OnPCLoginEvent: // Show message when player login if (isloggedin(2000000,150000) == 1) { // isloggedin(Login_id, Char_id) dispbottom "Game master [Balfear] : Online.",0x00FFFF; } else { dispbottom "Game master [Balfear] : Offline.",0xFF0000; } end; } I Love you! Thanks!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Quote Link to comment Share on other sites More sharing options...
0 llchrisll Posted October 21, 2018 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 626 Reputation: 189 Joined: 11/19/11 Last Seen: March 25 Share Posted October 21, 2018 Reading the doc/script_commands.txt also helps quite a lot. Quote Link to comment Share on other sites More sharing options...
Question
FelipeMartins
I want to create a NPC informing to the players if the GM is online or not. I have an ID of the character. How can I check if my GM is online of not? (script)
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.