Guest User

Untitled

a guest
Jul 17th, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 3.11 KB | None | 0 0
  1. on *:text:*:#: {
  2.   var %msg $iif($left($1,1) == @,msg $chan,notice $nick)
  3.   if ($1 == .dgpot || $1 == @dgpot || $1 == !dgpot) {
  4.     if ($2 == melee || att isin $2 || str isin $2) {
  5.       %msg WEAK melee potion: Valerian + Mishapen Claw.
  6.       %msg REGULAR melee potion: Magebane + Mishapen Claw.
  7.       %msg STRONG melee potion: Lycopus + Mishapen Claw.
  8.       halt
  9.     }
  10.     if (con isin $2 || craft isin $2 || fletch isin $2 || smith isin $2 || fm isin $2 || fire isin $2) {
  11.       %msg WEAK artisan's potion: Valerian + Red Moss
  12.       %msg REGULAR artisan's potion: Magebane + Red Moss
  13.       %msg STRONG artisan's potion: Lycopus + Red Moss
  14.       halt
  15.     }
  16.     if (rc isin $2 || runecraft isin $2 || herb isin $2 || thie isin $2 || cook isin $2) {
  17.       %msg WEAK naturalist's potion: Sagewort + Misshapen Claw
  18.       %msg REGULAR naturalist's potion: Wormwood + Misshapen Claw
  19.       %msg STRONG naturalist's potion: Winter's Grip + Misshapen Claw
  20.       halt
  21.     }
  22.     if (def isin $2) {
  23.       %msg WEAK defence potion: Aloe + Void Dust
  24.       %msg REGULAR defence potion: Featherfoil + Void Dust
  25.       %msg STRONG defence potion: Buckthorn + Void Dust
  26.       halt
  27.     }
  28.     if (rang isin $2) {
  29.       %msg WEAK ranged potion: Valerian + Void Dust
  30.       %msg REGULAR ranged potion: Magebane + Void Dust
  31.       %msg STRONG ranged potion: Lycopus + Void Dust
  32.       halt
  33.     }
  34.     if (mag isin $2) {
  35.       %msg WEAK magic potion: Sagewort + Void Dust
  36.       %msg REGULAR magic potion: Wormwood + Void Dust
  37.       %msg STRONG magic potion: Winter's Grip + Void Dust
  38.       halt
  39.     }
  40.     if (agil isin $1 || slay isin $2 || hunt isin $2) {
  41.       %msg WEAK survivalist's potion: Valerian + Firebreath Whiskey
  42.       %msg REGULAR survivalist's potion: Magebane + Firebreath Whiskey
  43.       %msg STRONG survivalist's potion: Lycopus + Firebreath Whiskey
  44.       halt
  45.     }
  46.     if (min isin $2 || wood isin $2 || wc isin $2 || fish isin $2) {
  47.       %msg WEAK gatherer's potion: Sagewort + Red Moss
  48.       %msg REGULAR gatherer's potion: Wormwood + Red Moss
  49.       %msg STRONG gatherer's potion: Winter's Grip + Red Moss
  50.       halt
  51.     }
  52.     if (pray isin $2 || summ isin $2) {
  53.       %msg WEAK rejuvenation potion: Aloe + Misshapen Claw
  54.       %msg REGULAR rejuvenation potion: Featherfoil + Misshapen Claw
  55.       %msg STRONG rejuvenation potion: Buckthron + Misshapen Claw
  56.       halt
  57.     }  
  58.     if (cure isin $2) {
  59.       %msg WEAK cure potion: Aloe + Firebreath Whiskey
  60.       %msg REGULAR cure potion: Featherfoil + Firebreath Whiskey
  61.       %msg STRONG cure potion: Buckthorn + Firebreath Whiskey
  62.       halt
  63.     }
  64.     if (pois isin $2 || psn isin $2) {
  65.       %msg WEAK poison: Sagewort + Firebreath Whiskey
  66.       %msg REGULAR poison: Wormwood Leaf + Firebreath Whiskey
  67.       %msg STRONG poison: Winter's Grip + Firebreath Whiskey
  68.       halt
  69.     }
  70.     if (rest isin $2 || stat isin $2) {
  71.       %msg WEAK stat restore potion: Aloe + Red Moss
  72.       %msg REGULAR stat restore potion: Featherfoil + Red Moss
  73.       %msg STRONG stat restore potion: Buckthorn + Red Moss
  74.       halt
  75.     }
  76.     notice $nick 4Unknown potion: $2 $+ .
  77.   }
  78. }
Add Comment
Please, Sign In to add comment