Year of the Dragon: Through April 23rd, claim the adventure pack Slice of Life for free! Speak to Xatheral in the Hall of Heroes.

Game mechanicsNewbie guideIn developmentDDO StoreSocial Media


ChallengesClassesCollectablesCraftingEnhancementsEpic DestiniesFavorFeats

GlossaryItemsMapsMonstersPlacesQuestsRacesReincarnationSkillsSpells


Please create an account or log in to build a reputation and unlock more editing privileges, and then visit DDO wiki's IRC Chat/Discord if you need any help!

User:Technical 13/SandBox/mIRC scripts/Pie

From DDO wiki
Jump to navigation Jump to search
⇑   ⇑   Back to top   ⇑   ⇑
General   Journal   Sand Box   To Do List   Characters   Quest List   Crafting   Talk  



 


;--- Pie ---
on *:TEXT:!Pie*:# {
  if (($2 == $me) || ($2 == myself) || ($2 == me) || ($2 == I)) {
    /ame throws a Kobold-Butter and Cream Cheese Pie at $nick $+ .
    /notice $nick You didn't think I would throw it at myself, did you?
    /set %Pie_Users $nick($chan,0)
    /set %Pie_UserCounter 1
    while (%Pie_UserCounter < %Pie_Users) {
      if (($nick != $nick($chan,%Pie_UserCounter)) && ($nick($chan,%Pie_UserCounter) != $me)) {
        /notice $nick($chan,%Pie_UserCounter) $nick didn't think I would throw a pie at myself, did they?
      }
      inc %Pie_UserCounter
    }
    /unset %Pie*
  }
  else {
    /ame throws a Kobold-Butter and Cream Cheese Pie at $2 at the request of $nick $+ .
  }
}