Jump to content
  • 0

I would like to ask a script about Auto Kick in the Woe With Restricted items


Question

Posted

When i put item in item_noequipt. the Job Suits the stats are just gone but they are still in the job suits. i would like to request that everytime they enter the castle with the restricted item they will warp back to town and having a pop up to unequip first before entering the castle 

3 answers to this question

Recommended Posts

  • 0
Posted
-	script	sample	-1,{
	OnInit:
		setarray .map$, 
			"prtg_cas01", "prtg_cas02", "prtg_cas03", "prtg_cas04", "prtg_cas05", 
			"payg_cas01", "payg_cas02", "payg_cas03", "payg_cas04", "payg_cas05", 
			"gefg_cas01", "gefg_cas02", "gefg_cas03", "gefg_cas04", "gefg_cas05", 
			"aldeg_cas01", "aldeg_cas02", "aldeg_cas03", "aldeg_cas04", "aldeg_cas05", 
			"arug_cas01", "arug_cas02", "arug_cas03", "arug_cas04", "arug_cas05", 
			"schg_cas01", "schg_cas02", "schg_cas03", "schg_cas04", "schg_cas05";
		
		.@size = getarraysize(.map$);
		for (.@i = 0; .@i < .@size; .@i++)
			setmapflag .map$[.@i], mf_loadevent;
		end;
		
	OnPCLoadMapEvent:
		if (inarray(.map$, strcharinfo(3)) != -1) {
			if (isequippedcnt(5001, 5002, 5003) >= 1) {
				mes "You have equipped with restricted items. Please remove them.";
				close2;
				warp "SavePoint", 0, 0;
			}
		}
		end;
}

try

  • 0
Posted

It is Working! Thanks! Btw sir Emistry do you have an item script or npc like when you equip an item your dex is fixed 130. for champ vs champ 

  • 0
Posted
11 hours ago, abdol said:

It is Working! Thanks! Btw sir Emistry do you have an item script or npc like when you equip an item your dex is fixed 130. for champ vs champ 

create another topic for your other request.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...