Jump to content
  • 0
Cydh

RE: Script Commands Additions/Updates

Question

15 answers to this question

Recommended Posts

Uh, just a quick thought...

how about making this commands Command: addmonsterdrop and delmonsterdrop

 
add it to the db instead? just like the " mob_item_ratio "

so it'll be easier for us who doesnt have much knowledge on scripting, to use it. 

just a suggestion :)

Link to comment
Share on other sites

@critica: The purpose of the commands is to make a temporary change, not a permanent one. There are already multiple methods of editing the permanent databases.

Link to comment
Share on other sites

Don't know how this wasn't in the emulator for so long - it should open up a lot more scripting possibilities. ^^

isn't that we can already compare a string with < or > already ?

prontera,168,185,5	script	kjdhfksdjfh	100,{
	[email protected]$[0] = "asdf";
	[email protected]$[1] = "qwer";
	if ( [email protected]$[0] == [email protected]$[1] )
		dispbottom "1 true";
	else
		dispbottom "1 false";
	if ( [email protected]$[0] < [email protected]$[1] )
		dispbottom "2 true";
	else
		dispbottom "2 false";
	end;
}
http://www.eathena.ws/board/index.php?s=&showtopic=180080&view=findpost&p=1311671

can already sort the string just like that

Link to comment
Share on other sites

Hmm, I had no idea, since our documentation says:

Only '==' and '!=' have been tested for comparing strings. Since there's no way

to code a seriously complex data structure in this language, trying to sort

strings by alphabet would be pointless anyway.

._.

I suppose it doesn't really hurt to have the function, though, unless you disagree.

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.