All pastes #501126 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-05-21 21:40 UTC
rendered paste body
on *:open:?:*:{ 
  if (%tppm = on) { 
    set %tppm.nick $nick 
    set %tppm.message $1-  
    msg $nick 4,1(15,1 x0,1 Hello4,1 $nick 15,1 x0,1 This is4,1 Aaron0,1, CEO of0,1 #Raged4,1Esports15,1 x4,1 )
    msg $nick 4,1(15,1 x0,1 Please leave me a message and I will respond to you as soon as I am available.15,1 x4,1 )
    msg $nick 4,1(15,1 x0,1 If you need immediate assistance, go to  #Raged4,1Esports0 and msg an OP.15,1 x4,1 )
    msg $nick 4,1(15,1 x0,1 Thank you and Support #Raged4,1Esports15,1 x4,1 ) 
    /dialog -m tppm tppm 
  } 
} 


dialog tppm { 
  title "Incoming Pm" 
  size 150 150 150 100 
  option dbu 

  text "", 1, 5 5 140 10 

  box "Message:", 2, 5 15 140 60 

  edit "", 3, 10 25 130 45, multi read 

  button "Accept", 4, 5 80 25 15, 
  button "Denied", 5, 35 80 25 15, 
  button "Cancel", 6, 120 80 25 15, cancel 

} 
on *:dialog:tppm:sclick:4:{ 
  msg %tppm.nick 4,1(15,1 x0,1 Your Conversation Has Been  4,1Accepted.15,1 x4,1 )
  dialog -c tppm tppm 
} 
on *:dialog:tppm:sclick:5:{ 
  close -m %tppm.nick | msg %tppm.nick 4,1(15,1 x0,1 Your Conversation Has  Been 4,1Denied.15,1 x4,1 ) 
  dialog -c tppm tppm 
} 
on *:dialog:tppm:init:0:{ 
  did -ra tppm 1 Incoming pm from: %tppm.nick 
  did -ra tppm 3 %tppm.message 
} 
on *:dialog:tppm:close:0:{ 
  unset %tppm.message 
  unset %tppm.nick 
  /dialog -c tppm tppm 
} 
menu menubar,channel,status { 
  Query Manager: 
  .Turn On:set %tppm on 
  .Turn Off:set %tppm off

  on *:TEXT:*:?:splay pm.wav