redundant script commands to be removed

Content and general development discussion, including quest scripts and server code. TMW Classic is a project comprising the Legacy tmwAthena server & the designated improved engine server based on evolHercules.


Forum rules

This forum houses many years of development, tracing back to some of the earliest posts that exist on the board.

Its current use is for the continued development of the server and game it has always served: TMW Classic.

Post Reply
User avatar
o11c
Grand Knight
Grand Knight
Posts: 2262
Joined: 20 Feb 2011, 21:09
Location: ^ ^

redundant script commands to be removed

Post by o11c »

Most of these appear in the new Illia quest.

cmdothernpc - just a shortcut for donpcevent, but sometimes used inappropriately where callfunc could be used instead.
getusers() - used buggily, use getmapusers() instead.
getnpctimer() - should be replaced by OnTimer* logic
break - same as end

getopt2 - used incorrectly by the Dark Talisman, which is buggy anyway, so its script should be removed

Besides these, I am removing a number of other script commands that are not used at all, or removing optional arguments that are not used.
Former programmer for the TMWA server.
Post Reply