AnnieRuru 957 Posted February 5, 2014 (edited) https://github.com/rathena/rathena/blob/master/doc/script_commands.txt#L3525 I want this *getserverdef script command in hercules I used it quite intensively during rathena now I move here I want to use them again they are just a simple script command that just read a variable from the source code you guys can add this in an instant . . VAR_VIP_SCRIPT 10VAR_MIN_STORAGE 11these 2 can be add laterbut 0-9 I want them so badly EDIT: https://github.com/HerculesWS/Hercules/blob/master/src/map/chat.h#L24 I change the 20 into 30 struct map_session_data* usersd[30];this will increase the chat room size limit into 30 players this is useful if making battleground script that use chat room to create a higher amount of battleground team members is there a way to read this "20" ? oh yes https://github.com/HerculesWS/Hercules/blob/master/src/map/chat.c#L39 cd->limit = min(limit, ARRAYLENGTH(cd->usersd));I want this one tooVAR_MAX_CHATSIZE ? Edited February 5, 2014 by AnnieRuru Quote Share this post Link to post Share on other sites
Ind 945 Posted February 10, 2014 interesting, I'll check with fellow colleagues to hear their thoughts Quote Share this post Link to post Share on other sites
AnnieRuru 957 Posted February 10, 2014 (edited) I can write this one http://upaste.me/a73c1057844f2d601 please review tested with prontera,155,184,5 script dfjskdfhds 100,{ for ( .@i = 0; .@i <= 12; .@i++ ) { if ( .@i == 10 || .@i == 11 ) continue; dispbottom getserverdef(.@i) +""; } end;}VAR_VIP_SCRIPT and VAR_MIN_STORAGE can be add later after you guys done VIP system Edited February 10, 2014 by AnnieRuru Quote Share this post Link to post Share on other sites
Ind 945 Posted February 26, 2014 Added in https://github.com/HerculesWS/Hercules/commit/950e3ebcdbbde96b090fa681ce88ecf4069f2f64 1 AnnieRuru reacted to this Quote Share this post Link to post Share on other sites