Jump to content
  • 0
Ninja

###### at command manager NPC

Question

Hi,

as the title says, has anyone seen one?

I remember I was using one way back but I can't remember what was the npc script's name.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

here

prontera,147,175,5	script	Settings	61,{

	set @n$,"[^484848Settings^000000]";
	set @reset$,"^000000";
	set @disabled$,"^BE1C1C";
	set @enabled$,"^0DB40D";

UserMenu:
	mes @n$;
	mes "You can change the way the game works here...";
	mes "Note: These are all account based, not per-character.";
	mes "Note 2: You must relog for them to take effect.";
	next;
	if (#set_autoloot == 0) set @st_autoloot$,@disabled$+"Off"[email protected]$;
	if (#set_autoloot > 0) set @st_autoloot$,@enabled$+#set_autoloot+"%"[email protected]$;
	if (#set_showdelay == 0) set @st_showdelay$,@disabled$+"Off"[email protected]$;
	if (#set_showdelay > 0) set @st_showdelay$,@enabled$+"On"[email protected]$;
	if (#set_showexp == 0) set @st_showexp$,@disabled$+"Off"[email protected]$;
	if (#set_showexp > 0) set @st_showexp$,@enabled$+"On"[email protected]$;
	if (#set_showzeny == 0) set @st_showzeny$,@disabled$+"Off"[email protected]$;
	if (#set_showzeny > 0) set @st_showzeny$,@enabled$+"On"[email protected]$;
	if (#set_uptime == 0) set @st_uptime$,@disabled$+"Off"[email protected]$;
	if (#set_uptime > 0) set @st_uptime$,@enabled$+"On"[email protected]$;
	if (#set_rates == 0) set @st_rates$,@disabled$+"Off"[email protected]$;
	if (#set_rates > 0) set @st_rates$,@enabled$+"On"[email protected]$;
	menu	"Auto Loot ["[email protected]_autoloot$+"]",e_autoloot,"Show Delay ["[email protected]_showdelay$+"]",e_showdelay,"Show Exp ["[email protected]_showexp$+"]",e_showexp,"Show Zeny ["[email protected]_showzeny$+"]",e_showzeny,"Uptime on login ["[email protected]_uptime$+"]",e_uptime,"Rates on login ["[email protected]_rates$+"]",e_rates;
	close;

e_autoloot:
	mes @n$;
	mes "Auto Loot is currently "[email protected]_autoloot$;
	mes "Desc: Auto loot adds items to your inventory automatically.";
	next;
	menu "Toggle",-,"Back",UserMenu;
	mes @n$;
	mes "Auto Loot is currently "[email protected]_autoloot$;
	mes "Enter the minimum rate an item must drop at before it it looted, 100 will loot all items, 99 will only loot cards, 0 disables it.";
	next;
	input @rate;
	if ((@rate >= 0) && (@rate <= 100)) set #set_autoloot,@rate;
	goto UserMenu;

e_showdelay:
	mes @n$;
	mes "Show Delay is currently "[email protected]_showdelay$;
	mes "Desc: When a skill fails because of delay, it will be hidden.";
	next;
	menu "Toggle",-,"Back",UserMenu;
	if (#set_showdelay == 0) {
		set #set_showdelay,1;
		goto UserMenu;
	}
	if (#set_showdelay == 1) {
		set #set_showdelay,0;
		goto UserMenu;
	}
	set #set_showdelay,1; mes "unknown error"; next; goto UserMenu;

e_rates:
	mes @n$;
	mes "Rates on login is currently "[email protected]_rates$;
	mes "Desc: Displays the current server rates on login.";
	next;
	menu "Toggle",-,"Back",UserMenu;
	if (#set_rates == 0) {
		set #set_rates,1;
		goto UserMenu;
	}
	if (#set_rates == 1) {
		set #set_rates,0;
		goto UserMenu;
	}
	set #set_rates,1; mes "unknown error"; next; goto UserMenu;

e_showexp:
	mes @n$;
	mes "Show Exp is currently "[email protected]_showexp$;
	mes "Desc: When you gain exp, it will be displaied.";
	next;
	menu "Toggle",-,"Back",UserMenu;
	if (#set_showexp == 0) {
		set #set_showexp,1;
		goto UserMenu;
	}
	if (#set_showexp == 1) {
		set #set_showexp,0;
		goto UserMenu;
	}
	set #set_showexp,1; mes "unknown error"; next; goto UserMenu;

e_showzeny:
	mes @n$;
	mes "Show Zeny is currently "[email protected]_showzeny$;
	mes "Desc: When you gain zeny, it will be displaied.";
	next;
	menu "Toggle",-,"Back",UserMenu;
	if (#set_showzeny == 0) {
		set #set_showzeny,1;
		goto UserMenu;
	}
	if (#set_showzeny == 1) {
		set #set_showzeny,0;
		goto UserMenu;
	}
	set #set_showzeny,1; mes "unknown error"; next; goto UserMenu;

e_uptime:
	mes @n$;
	mes "Uptime on login is currently "[email protected]_uptime$;
	mes "Desc: When you log in, server uptime will be displaied.";
	next;
	menu "Toggle",-,"Back",UserMenu;
	if (#set_uptime == 0) {
		set #set_uptime,1;
		goto UserMenu;
	}
	if (#set_uptime == 1) {
		set #set_uptime,0;
		goto UserMenu;
	}
	set #set_uptime,1; mes "unknown error"; next; goto UserMenu;
close;


OnPCLoginEvent:
sleep2 1000;
if (#set_autoloot > 0)	atcommand "@autoloot " + #set_autoloot;
if (#set_showdelay == 1)	atcommand "@showdelay";
if (#set_showexp == 1)	atcommand "@showexp";
if (#set_showzeny == 1)	atcommand "@showzeny";
if (#set_rates == 1)	atcommand "@rates";
if (#set_uptime == 1)	atcommand "@uptime";
atcommand "@main on";
end;

}
Edited by EL Dragon
Link to comment
Share on other sites

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

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.