Reborn Posted February 10, 2015 Group: Members Topic Count: 104 Topics Per Day: 0.02 Content Count: 290 Reputation: 3 Joined: 09/29/13 Last Seen: December 28, 2024 Share Posted February 10, 2015 Hi guys, Can anyone create or help me with this script? I want a script that on the message box, I want to create a menu options that will automatically appear on it. a menu that will automatically read the names on the message box. the one that dont need some modification. i hope someone got the idea that i have and apply this into a script. I hope someone could help me with this... thanks for future help guys. Quote Link to comment Share on other sites More sharing options...
Luciar Posted February 13, 2015 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 177 Reputation: 21 Joined: 01/31/12 Last Seen: March 8, 2020 Share Posted February 13, 2015 https://rathena.org/board/topic/68466-utility-gm-online-list/ Quote Link to comment Share on other sites More sharing options...
Reborn Posted February 13, 2015 Group: Members Topic Count: 104 Topics Per Day: 0.02 Content Count: 290 Reputation: 3 Joined: 09/29/13 Last Seen: December 28, 2024 Author Share Posted February 13, 2015 Can anyone help me with this script? I am creating an NPC Script that when a player logged in it will appear as Online in the Red box showing in the image and if the player logged out it will appear as Offline automatically. Quote Link to comment Share on other sites More sharing options...
Reborn Posted February 13, 2015 Group: Members Topic Count: 104 Topics Per Day: 0.02 Content Count: 290 Reputation: 3 Joined: 09/29/13 Last Seen: December 28, 2024 Author Share Posted February 13, 2015 thanks for the help Luciar but this is not the one that I am looking for. This Online players should appear in the menu options. cause after the NEXT button a menu will appear automatically and it should contain all the online players. I am doing this for almost a week but I really cant make it. Please help me with this. Quote Link to comment Share on other sites More sharing options...
Reborn Posted February 13, 2015 Group: Members Topic Count: 104 Topics Per Day: 0.02 Content Count: 290 Reputation: 3 Joined: 09/29/13 Last Seen: December 28, 2024 Author Share Posted February 13, 2015 Can anyone has an idea for making a script for this? for the correct char_id entered in the *input: NPC ==> Message that contains all the GM ==> next ==> input (char_id) ==> message box that contains the information for the selected GM's char_id ==> close... for the incorrect char_id entered in the *input: NPC ==> Message that contains all the GM ==> next ==> input (char_id) ==> message box saying that this ID is invalid ==> close... Is there anyone that can create this NPC for. even the sample NPC is simple as long as all the details above included to that NPC I can modify it.. I am hoping that someone understand the detail above.. Quote Link to comment Share on other sites More sharing options...
Skorm Posted February 14, 2015 Group: Forum Moderator Topic Count: 33 Topics Per Day: 0.01 Content Count: 1282 Reputation: 393 Joined: 02/03/12 Last Seen: April 11 Share Posted February 14, 2015 Could be done better with menus instead... prontera,100,100,1 script test_npc 100,{ donpcevent("test_npc::OnBuildList"); .@len = getarraysize(.gm_list$); mes "[ test_npc ]"; if( !.@len ) { mes "Sorry no gms are online right now."; close; } mes "Input the gms charid to view information."; for(.@a = 0; .@a < .@len; .@a++ ) mes ""+.gm_list$[.@a]; next; input(.@input); mes "[ test_npc ]"; for(.@a = 0; .@a < .@len; .@a++ ) if( .gm_list[.@a] == .@input ) mes .gm_info$; if( .@a == .@len ) mes "I couldn't find that ID Sorry..."; close; OnBuildList: deletearray .gm_list$; deletearray .gm_list; deletearray .gm_info$ addrid(0); if( getgmlevel() >= 60 ) { .gm_list$[getarraysize(.gm_list$)] = strcharinfo(0)+" - "+getcharid(0); .gm_list[getarraysize(.gm_list)] = getcharid(0); .gm_info$[getarraysize(.gm_info$)] = "Class: "+ Class +", Base Level: "+ BaseLevel +", Job Level: "+ JobLevel +"."; } end; } Quote Link to comment Share on other sites More sharing options...
Reborn Posted February 15, 2015 Group: Members Topic Count: 104 Topics Per Day: 0.02 Content Count: 290 Reputation: 3 Joined: 09/29/13 Last Seen: December 28, 2024 Author Share Posted February 15, 2015 (edited) Could be done better with menus instead... prontera,100,100,1 script test_npc 100,{ donpcevent("test_npc::OnBuildList"); .@len = getarraysize(.gm_list$); mes "[ test_npc ]"; if( !.@len ) { mes "Sorry no gms are online right now."; close; } mes "Input the gms charid to view information."; for(.@a = 0; .@a < .@len; .@a++ ) mes ""+.gm_list$[.@a]; next; input(.@input); mes "[ test_npc ]"; for(.@a = 0; .@a < .@len; .@a++ ) if( .gm_list[.@a] == .@input ) mes .gm_info$; if( .@a == .@len ) mes "I couldn't find that ID Sorry..."; close; OnBuildList: deletearray .gm_list$; deletearray .gm_list; deletearray .gm_info$ addrid(0); if( getgmlevel() >= 60 ) { .gm_list$[getarraysize(.gm_list$)] = strcharinfo(0)+" - "+getcharid(0); .gm_list[getarraysize(.gm_list)] = getcharid(0); .gm_info$[getarraysize(.gm_info$)] = "Class: "+ Class +", Base Level: "+ BaseLevel +", Job Level: "+ JobLevel +"."; } end; } the script that you provided to me is quite near with what I want for the script. Like what my post is. all the GM on the message should appear automatically under the menu window. Edited February 15, 2015 by dfabsgwapings Quote Link to comment Share on other sites More sharing options...
Reborn Posted February 17, 2015 Group: Members Topic Count: 104 Topics Per Day: 0.02 Content Count: 290 Reputation: 3 Joined: 09/29/13 Last Seen: December 28, 2024 Author Share Posted February 17, 2015 bump *** Quote Link to comment Share on other sites More sharing options...
Question
Reborn
Hi guys,
Can anyone create or help me with this script?
I want a script that on the message box, I want to create a menu options that will automatically appear on it.
a menu that will automatically read the names on the message box. the one that dont need some modification.
i hope someone got the idea that i have and apply this into a script. I hope someone could help me with this...
thanks for future help guys.
Link to comment
Share on other sites
7 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.