Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Reading NPC
#1
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.
#2
Probably possible, unfortunatelly not available.
#3
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.


Forum Jump:


Users browsing this thread: 1 Guest(s)