SHARE
TWEET

Untitled

a guest Dec 13th, 2018 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #Invite on
  2. on *:text:*:?:{
  3.   if ($nick isin %masters) {
  4.     if ($1 == !invite) && ($2) {
  5.       .whois $2
  6.       set %nickinv $2
  7.       set %nick $nick
  8.     }
  9.     if ($1 == !remove) && ($2) {
  10.       /msg q chanlev %chan $2 -gv
  11.       /ban -ako %chan $2 Removed.
  12.     }
  13.   }
  14. }
  15. alias setmaster {
  16.   if ($1) && ($1 !isin %masters) {
  17.     set %masters %masters $1
  18.     /msg $1 Your have now master!
  19.   }
  20. }
  21. alias removemaster {
  22.   if ($1) && ($1 isin %masters) {
  23.     set %masters $remtok(%masters,$1,32)
  24.     echo -a $1 been removed.
  25.   }
  26. }
  27. alias setchan {
  28.   if ($1) {
  29.     set %chan $1
  30.     echo -a The channel now is: %chan
  31.   }
  32. }
  33. alias masters {
  34.   echo -a masters are: %masters
  35. }
  36. RAW 311:*: { if (%nickinv) { set %online 1 } }
  37. RAW 318:*: { if (%nickinv) { Cback } }
  38. alias Cback {
  39.   if (%online) {
  40.   }
  41.   /msg q chanlev %chan %nickinv +ao
  42. /msg %nickinv You are have been invited to #pokerface }
  43. else { msg %nick %nickinv - no such nick, cant invite. }
  44. unset %nickinv | unset %online | unset %nick
  45. }
  46. #Invite End
  47. menu channel {
  48. INVITE
  49. .Set ON:.enable #invite
  50. .Set Off:.disable #invite
  51. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top