|
PhelinxSnoopy Newbie
Joined: 28 Mar 2013 Posts: 7
|
Posted: Tue May 07, 2013 4:17 pm
rescue trigger and variables |
Ok so i am trying to create a trigger that will rescue people getting hit.
#trigger {hits @rescue very hard.} {rescue @rescue} works great when only one person is in @rescue
so when a player follows me i do a #additem rescue %1 which then makes @rescue look like Player1|Player2
But when when get hit it try to rescue @rescue but it liike like rescue Player1|Player2 I want to rescue either player1 if he is getting hit or player2 not one big string of names player1|player2|player3
I just want it to check if they should be rescue and recue the one player getting hit? |
|
|
|
Daern Sorcerer
Joined: 15 Apr 2011 Posts: 809
|
Posted: Tue May 07, 2013 4:36 pm |
Code: |
#trigger {hits ({@rescue}) very hard.} {rescue %1} |
|
|
|
|
PhelinxSnoopy Newbie
Joined: 28 Mar 2013 Posts: 7
|
Posted: Tue May 07, 2013 5:05 pm |
I will give that a try
|
|
|
|
PhelinxSnoopy Newbie
Joined: 28 Mar 2013 Posts: 7
|
Posted: Wed May 15, 2013 3:18 pm |
this worked great thanks
|
|
|
|
|
|