Tales Posted November 4, 2014 Share Posted November 4, 2014 So..., reading the docs of rathena i found something that get me confuse. Athena programming says: You dont need to declare a variable... If it so, whats the difference between ".set varname,0;" and "varname = 0;" Quote Link to comment Share on other sites More sharing options...
Winz Posted November 4, 2014 Share Posted November 4, 2014 (edited) Normal Variables As of r15982 the usage of set has become obsolete and is no longer a requirement. You set a variable by using the command set. The format is: set <variable>,<value>;or<variable> = <value>; No difference, I guess. but, some would may prefer Athena-ish script, so they use set. I'm one of them. no difference tho. by the way, it shall be set varname, 0; or set .varname,0; not .set varname,0; *Update <variable> = <value>; may be used as well, but only rAthena is compatible with this statement. eA and 3CeAM (even 3CReAM) seems not to. Edited November 6, 2014 by Winz 1 Quote Link to comment Share on other sites More sharing options...
Emistry Posted November 4, 2014 Share Posted November 4, 2014 you refering this ? http://rathena.org/board/topic/78263-scripting-faqtipstricks/?p=267219 Quote Link to comment Share on other sites More sharing options...
Link to comment
Share on other sites