Reading NPC - Printable Version +- BBot - The best bot of the world (https://forums.bmega.net) +-- Forum: Scripts & Macros (https://forums.bmega.net/forum-4.html) +--- Forum: Requests (https://forums.bmega.net/forum-17.html) +--- Thread: Reading NPC (/thread-4079.html) |
Reading NPC - cgrayx - 08-26-2012 Hi, I am wondering whether there is a command to grab what the NPC said... Sorta like an autoresponder but I don't want my char to respond, rather load a script For example, I want to make a script on an OT that does the particular task an NPC wants. If the NPC says "12 rotworms" it'll load the rotworm script and go there, if it says dragons, it'll go load the dragon script etc.. Obviously that would require a function to see if the sentence contains a certain sentence..... but I dont know if its possible with this scripting language. RE: Reading NPC - nizlov - 08-26-2012 Probably possible, unfortunatelly not available. RE: Reading NPC - cgrayx - 08-26-2012 Mmmm. I'm not looking for someone who has already wrote it :p I'm just seeing if anyone knows if its theoretically possible with the bot - i.e. does it have the required functions (reading output etc.) thats the main problem, reading output. |