how to make my characters whisper or chat in private channel?

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
firezone
Posts: 2
Joined: Mon Oct 03, 2011 1:56 am

how to make my characters whisper or chat in private channel?

#1 Post by firezone »

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>
	<!-- #  1 --><waypoint x="-30131" z="1488">	</waypoint>
	<!-- #  2 --><waypoint x="-30118" z="1278">	</waypoint>
	<!-- #  3 --><waypoint x="-29988" z="1157">	</waypoint>
	<!-- #  4 --><waypoint x="-29937" z="988">	</waypoint>
	<!-- #  5 --><waypoint x="-30082" z="1145">	</waypoint>
	<!-- #  6 --><waypoint x="-30152" z="1245">	</waypoint>
	<!-- #  7 --><waypoint x="-30321" z="1309">	</waypoint>
	<!-- #  8 --><waypoint x="-30135" z="1489">	sendMacro("SendChatMessage("test", WHISPER, 0, "Charname")") </waypoint>
</waypoints>
return with

Mapping inventory (bagslot 1 to 60)...
100% [**************************************************]
Moving to waypoint #1, (-29558, 1160)
9:46pm - scripts\bot.lua:667: Failed to compile and run Lua code for waypoint #1
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: how to make my characters whisper or chat in private channel?

#2 Post by rock5 »

You can't use "s inside "s. So change the inner ones to ' or escape the inner ones like this \".

eg.

Code: Select all

sendMacro("SendChatMessage(\"test\", WHISPER, 0, \"Charname\")") 
sendMacro will then see it as one big string.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan
firezone
Posts: 2
Joined: Mon Oct 03, 2011 1:56 am

Re: how to make my characters whisper or chat in private channel?

#3 Post by firezone »

thanks got it rock5 rocks :D
Post Reply