Tobse101 wrote:
My Question:
1.: How can i write a Infomessage in the ROM Chat? (Now other players can read this?)
2.: How can i chan set some Items in a list they got looted from killed mobs? (Farm script)
3.: How to find an Walking NPC (to Complete a Quest)
4.: How to Accept a Quest on a BlackBoard (Daylies)
1. As far as I know you can only use commands with RoMScript that you start with "/script command" in game. So "/say" wont work. You can use this instead.
Code: Select all
RoMScript("SendChatMessage(\"message to say\", \"SAY\")"
Or if you want to send a value in a variable;
Code: Select all
message = "message to say"
RoMScript("SendChatMessage(\"" .. message .. "\", \"SAY\")"
That should work.
2. I don't think you can get the name of the looted items because rombot doesn't loot, your loot filter addon does that.
3. Assuming the npc doesn't travel very far then player:target_NPC() should still work. You might have to add a pause after that command to give the dialog time to open after walking to the npc. If the npc travels too far you might have to use player:target_NPC at more than 1 waypoint.
4. player:target_Object("name of board") can be used to open a bulletin board.