Invite char after login

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
tunnaz
Posts: 4
Joined: Wed Nov 27, 2013 11:27 pm

Invite char after login

#1 Post by tunnaz » Wed Nov 27, 2013 11:56 pm

Hi there!
Im setting up my WP and tried to add lines to invite characters by names, here my WP

<?xml version="1.0" encoding="utf-8"?><waypoints>
sendMacro('InviteByName("Sharky")');
<!-- # 1 --><waypoint x="-362" z="1511" y="87"> </waypoint>
<!-- # 2 --><waypoint x="-495" z="1539" y="99"> </waypoint>
<!-- # 3 --><waypoint x="-660" z="1792" y="47"> </waypoint>
<!-- # 4 --><waypoint x="-807" z="1903" y="37"> </waypoint>
<!-- # 5 --><waypoint x="-931" z="1910" y="55"> </waypoint>
<!-- # 6 --><waypoint x="-805" z="1836" y="26"> </waypoint>
<!-- # 7 --><waypoint x="-547" z="1722" y="55"> </waypoint>
<!-- # 8 --><waypoint x="-356" z="1629" y="58"> </waypoint>
<!-- # 9 --><waypoint x="-135" z="1461" y="64"> </waypoint>
<!-- # 10 --><waypoint x="-120" z="1372" y="63"> </waypoint>
<!-- # 11 --><waypoint x="-253" z="1186" y="47"> </waypoint>
<!-- # 12 --><waypoint x="-131" z="1175" y="53"> </waypoint>
<!-- # 13 --><waypoint x="-80" z="1382" y="67"> </waypoint>
<!-- # 14 --><waypoint x="-196" z="1530" y="63"> </waypoint>
</waypoints>

but wont works. Where is the error ? ty in advance

User avatar
Bill D Cat
Posts: 555
Joined: Sat Aug 10, 2013 8:13 pm
Location: Deep in the Heart of Texas

Re: Invite char after login

#2 Post by Bill D Cat » Thu Nov 28, 2013 12:28 am

The error is your command is not between <waypoint> and </waypoint> tags, and as such will not be executed.

tunnaz
Posts: 4
Joined: Wed Nov 27, 2013 11:27 pm

Re: Invite char after login

#3 Post by tunnaz » Thu Nov 28, 2013 3:01 am

Fixed, ty :D

tunnaz
Posts: 4
Joined: Wed Nov 27, 2013 11:27 pm

Re: Invite char after login

#4 Post by tunnaz » Thu Nov 28, 2013 11:15 am

Is there a way to use an "else" function to avoid invite in loop once the char is already in party? ty

kuripot
Posts: 493
Joined: Mon Nov 07, 2011 9:14 pm

Re: Invite char after login

#5 Post by kuripot » Sat Dec 07, 2013 7:31 am

your character have a party or the alt have a party??
if your character check the party here is the code...

Code: Select all

		while not RoMScript("UnitExists('party1')") do
			sendMacro('InviteByName("'..ToonName..'")');
			yrest(3000)
		end

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 0 guests