Author Topic: Whatis  (Read 8408 times)

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.

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.
« Last Edit: January 19, 2009, 07:09:04 AM by Trader »

so now you can make giant dictionaries and stuff?

Trader is right in a way, but i could work with this...

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.

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.

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.
Thats what I though after i read the first few lines Not completely. It would be alot easyer though.

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.

You don't need to loop through all the bricks.  Just store a list for every client of his named bricks.

I think the way it works right now is perfect. I honestly don't understand what Trader is trying to suggest, but for what Reg needed the event for it's fine.

Assuming I understood what it is correctly. (It makes it so if you type /whatis <word> is gives a description you typed up, amirite?)

EDIT: Also, Trader:
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.

What if what you want to describe isn't related to a brick? A variable, for instance. Although, I don't know everything, so I might just be misunderstanding some things said in this topic.
« Last Edit: January 19, 2009, 04:38:10 PM by Mateo »

Hm, a tad confusing. But for the most part, very good job!  :cookie:

(First Post!)

ok,ask it /whatis this_mod? lol.

This is EXCELLENT. Especially for building rights servers.

It should come with a few preloaded commands. Would be useful.

Onactivate : Self : SetWhatIs : Love : Baby don't hurt me...

It has officially lost it's comical value. :/

Owait, someone posted that already.

/didn'treadallposts

Thank you!
Now I don't have to be afraid of noobs and their simple questions!