Shattered Kingdoms

Where Roleplay and Tactics Collide
VOTE NOW!
It is currently Sun Feb 23, 2025 9:57 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Trigger (script) help
PostPosted: Mon Mar 30, 2009 6:27 pm 
Offline
Mortal

Joined: Sun Nov 16, 2008 12:52 pm
Posts: 60
I was reading a log on the logs site, and macbeth posted a pk log. Reading through, I noticed he had several triggers set up. As follows

XXXX starts to concentrate.
>>>XXXX is casting<<<<


XXX's bash slams into YYYY and sends them sprawling!
>>>YYYY is bashed<<<

I have tried everything to replicate this, and just cant figure it out. What I have now, is

#TRIGGER{starts to concentrate}
#ECHO CASTING!!!

Problem with this is.. a) I can not use >>> or <<< as symbols, syntax error. b) I cant figure out how to make it point, %1 and %t do not work. c) I cant make it just red text on my black background. I have to go into my color prefrences and change system output color, which changes several other things. I tried PM'ing the creater of the log, and have gotten no response. Might anyone help me with this?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Mar 30, 2009 6:35 pm 
Offline
Mortal

Joined: Fri Jul 09, 2004 8:43 am
Posts: 5614
Location: Columbia, South Carolina
SK Character: Pilnor, Surrit, Berr, Rall
What client are you using, first of all?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Mar 30, 2009 6:43 pm 
Offline
Mortal

Joined: Sun Nov 16, 2008 12:52 pm
Posts: 60
Zmud


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Mar 30, 2009 10:03 pm 
Offline
Mortal

Joined: Thu Oct 28, 2004 7:18 pm
Posts: 452
It's amazing what fiddly little things can make a trigger trip up. For things like '<' that cause a syntax error, put a ~ right in front of it.

From a quick look, these should work for you:

Casting:
#TRIGGER {(*) starts to concentrate} {#ECHO >>>%1 is casting!!!!~<~<~<}

Bashing:
#TRIGGER {*'s bash slams into (*) and sends * sprawling} {#ECHO >>>>%1 is bashed!~<~<~<~<}


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Mar 31, 2009 12:37 am 
Offline
Mortal

Joined: Sun Nov 16, 2008 12:52 pm
Posts: 60
Thank you very much!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 8 hours


Who is online

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


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group