Blockland Files > Add-Ons
Whatis
Trader:
--- Quote from: rkynick on January 19, 2009, 01:41:51 AM ---Trader, I've tried looping through bricks before. With larger builds its a drain on the server. Its simple, just make one control brick that sets up all the 'whatis's.
--- End quote ---
It's stupid to make an event to set something up that's not related to a brick. It would be easy to maintain a list of only those bricks that contain an onAskWhatIs event.
paulenn:
so now you can make giant dictionaries and stuff?
block master999:
Trader is right in a way, but i could work with this...
boodals 2:
Its accualy very helpfull in some cases. Such as a City RP. Instead of using the popular "^help" say someone modded it but didnt know how to change what it messages to the Client. He could then just tell him to say (eg.)"/whatis money". Or in other cases with out the City RP Mod.
Space Guy:
Looping through all the bricks on some of the larger RPG builds can be very laggy at times.
Maybe having all the definitions stored in a text file e.g. config/server/whatIsTexts.txt and then loaded when you start the server would work better.