Jump to content
  • 0

RE: Script Commands Additions/Updates


Cydh

Question


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

cool. :D

Link to comment
Share on other sites

15 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.02
  • Content Count:  223
  • Reputation:   4
  • Joined:  02/23/12
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

@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


  • Group:  Members
  • Topic Count:  80
  • Topics Per Day:  0.02
  • Content Count:  325
  • Reputation:   76
  • Joined:  03/22/12
  • Last Seen:  

Nice.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  32
  • Topics Per Day:  0.01
  • Content Count:  247
  • Reputation:   207
  • Joined:  10/23/12
  • Last Seen:  

Updated first post with countbound, getitembound, and getitembound2 as part of the item bound system in r17351.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  76
  • Reputation:   3
  • Joined:  02/24/12
  • Last Seen:  

nice work ^^

Edited by Sunzuke
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  32
  • Topics Per Day:  0.01
  • Content Count:  247
  • Reputation:   207
  • Joined:  10/23/12
  • Last Seen:  

Added addrid script command in 6572a9f.  Updated first post.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  81
  • Topics Per Day:  0.02
  • Content Count:  1654
  • Reputation:   583
  • Joined:  08/09/12
  • Last Seen:  

Nice, a more flexible way to apply item bonuses  /no1

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  545
  • Reputation:   220
  • Joined:  03/01/13
  • Last Seen:  

Too awesome!  /no1 

~Azura Sky

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  42
  • Topics Per Day:  0.01
  • Content Count:  1096
  • Reputation:   344
  • Joined:  02/26/12
  • Last Seen:  

can i use much more code in this scopes?

 

 "code bla bla bla; code bla bla bla 2; while for if else; " 
 
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

can i use much more code in this scopes?

 

 "code bla bla bla; code bla bla bla 2; while for if else; " 
 

@Euphy used it here dcb2572

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  

Bonus Script. /gg

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

Cool bonus_script! :P

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

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,{
	.@string$[0] = "asdf";
	.@string$[1] = "qwer";
	if ( .@string$[0] == .@string2$[1] )
		dispbottom "1 true";
	else
		dispbottom "1 false";
	if ( .@string$[0] < .@string$[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


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

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