processing MSDP spells in tintin++

Other clients used. jmc/tinyfuge, ect.

processing MSDP spells in tintin++

Postby raincrab » Thu Dec 20, 2012 10:03 pm

here's an example to add a line to your status bar prompt thingie listing spells you're affected by and their duration. (this would go somewhere in your msdp event handler)

Code: Select all
   #format {aprompt} {};

   #foreach {$MSDP_AFFECTS[]} {affect} {
      #var key $affect;
      #var val $MSDP_AFFECTS[$affect];
      
      #if {$val > 0} {
         #format {aff} {<bbf>%s<g08>:<bbf>%s } {$affect} {$val};
         #format {aprompt} {$aprompt%s } {$aff};
      }
   };
   
   #line ignore #showme {$aprompt} {1};

raincrab
 
Posts: 18
Joined: Thu Oct 18, 2012 5:46 pm
Status: Offline

Return to Other Clients

Who is online

Users browsing this forum: No registered users and 6 guests

cron