Author Topic: Object (Or variable?) description command  (Read 2095 times)

DONE! Look in Add-ons. :3

This would be for RPG's.
I thought of this the other day while building my RPG, and I want to know;

Would it be possible for someone to make a script (Or whatever, I know nothing of scripting so I don't know if this would be a script or not) where if a player types "/whatis (object name here)" that it would tell them about that object?

It would need to include a way to change the objects available for this command, and what the description would be.

To help anyone out who's confused, I'll create a scenario from my RPG.
Let's say someone picks up a tin can. (So, it adds the variable "tin can" to the player, as well as telling the player "You found a tin can".) If that person typed "/whatis tin can" the response could be "A can made of tin", or whatever I would have set the response to be.

So: Can it be done?
« Last Edit: January 19, 2009, 08:07:19 AM by Regulith »

I believe that it is possible and it is definately a script. You could do this with events, but you would have to use alot of events to cover the entire floor area.


I believe that it is possible and it is definately a script. You could do this with events, but you would have to use alot of events to cover the entire floor area.

It's a giant island, so no. I'm not going to use events.

Yeah, definately need script then. Would be very useful.


Come on, anyone up to trying this? I'd really appreciate it.


Yeah yeah hold on. I need to upload to RTB.