PandaLovesHamster Posted May 1, 2015 Group: Members Topic Count: 51 Topics Per Day: 0.01 Content Count: 452 Reputation: 35 Joined: 12/18/14 Last Seen: May 30, 2016 Share Posted May 1, 2015 source: https://rathena.org/board/topic/90618-guild-limit-script/ - script kjdfhkdjsfs -1,{ OnPCLoadMapEvent: if ( !getd( "."+ strcharinfo(3) ) ) end; .checkmap$ = strcharinfo(3); .count = 0; .@origin = getcharid(3); addrid 3, 0, getcharid(2); if ( strcharinfo(3) == .checkmap$ ) .count++; if ( !.@origin ) end; if ( .count > 30 ) { message strcharinfo(0), "Your guild members are over the limit"; sleep2 2000; warp "Save", 0,0; } end; OnInit: setarray .@map$, "hugel", "payon"; .@size = getarraysize( .@map$ ); for ( .@i = 0; .@i < .@size; .@i++ ) { setmapflag .@map$[.@i], mf_loadevent; setd "."+ .@map$[.@i], 1; } end; } Credits to AnnieRuru for the script above.What I want this script to do is: 1. Game Master will REGISTER a guild. Any guild on the list will go through the check above. Any guild not registered on will skip the check entirely.I hope this is do-able. Thank you. Quote Link to comment Share on other sites More sharing options...
PandaLovesHamster Posted May 3, 2015 Group: Members Topic Count: 51 Topics Per Day: 0.01 Content Count: 452 Reputation: 35 Joined: 12/18/14 Last Seen: May 30, 2016 Author Share Posted May 3, 2015 Bump, anyone? Quote Link to comment Share on other sites More sharing options...
Question
PandaLovesHamster
source: https://rathena.org/board/topic/90618-guild-limit-script/
Credits to AnnieRuru for the script above.
What I want this script to do is:
1. Game Master will REGISTER a guild. Any guild on the list will go through the check above. Any guild not registered on will skip the check entirely.
I hope this is do-able. Thank you.
Link to comment
Share on other sites
1 answer 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.