WoTMUD Archives

A player-run forum for the Wheel of Time MUD
It is currently Sun Aug 09, 2020 10:36 am

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: tracking script
PostPosted: Thu Jun 07, 2012 6:01 pm 
Offline

Joined: Thu Jun 07, 2012 10:32 am
Posts: 53
#CLASS {ColorCode|Track}
#ALIAS GetDir {#IF {%1="north"} {#VAR dirchar @northchar};#IF {%1="east"} {#VAR dirchar @eastchar};#IF {%1="south"} {#VAR dirchar @southchar};#IF {%1="west"} {#VAR dirchar @westchar};#IF {%1="up"} {#VAR dirchar @upchar};#IF {%1="down"} {#VAR dirchar @downchar}}
#VAR dirchar {^^}
#VAR westchar {<<}
#VAR eastchar {>>}
#VAR northchar {^^}
#VAR southchar {vv}
#VAR upchar {++}
#VAR downchar {--}
#TRIGGER {({bloody traces|tracks}) of a ({seanchan|human|trolloc}) leaving (%w).} {#CO white;GetDir %3;#SUB {%1 of %ansi( red, bold)a %2 %ansi( white)leaving %ansi( yellow)@dirchar%ansi( red, bold)%3%ansi( yellow)@dirchar}}
#TRIGGER {({tracks|bloody traces}) of ~*(%w)~* leaving (%w).} {#CO white;GetDir %3;#SUB {%1 of *%ansi( red, bold)%2* %ansi( white)leaving %ansi( yellow)@dirchar%ansi( red, bold)%3%ansi( yellow)@dirchar}}
#TRIGGER {{bloody traces} of (*) leaving (%w).} {#CO white;GetDir %2;#SUB {bloody traces of %ansi( red, bold)%1 %ansi( white)leaving %ansi( yellow)@dirchar%ansi( red, bold)%2%ansi( yellow)@dirchar}}
#TRIGGER {{tracks} of (*) leaving (%w).} {#CO white;GetDir %2;#SUB {tracks of %ansi( green, bold)%1 %ansi( white)leaving %ansi( yellow, bold)@dirchar%ansi( green, bold)%2%ansi( yellow, bold)@dirchar}}
#CLASS 0


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 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:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group