Alias Ad System
Posted by JcD
Sunday, September 18, 2005
Description: Advertise System

i am so lazy to test this.... :(

But i made this Alias Advertise System cause i was really bored.
I hope it works.

on *:LOAD:{
  echo -a Just Loaded Advertise Script
  echo -a Created by JcD
  echo -a #ScriptClub #UnitedFrag #aPgaming
}

alias admsg {
  if (!$1) {
    echo -a Please enter a message.
  }
  else {
    set %message $1-
    echo -a Advertise message has been saved,
  }
}

alias adchan1 {
  if (!$1) {
    echo -a Please enter a channel.
  }
  else {
    set %adchan1 $1-
    echo -a Channel has been added to the advertise list.
  }
}

alias delchan1 {
  unset %adchan1
  echo -a Channel has been deleted from the advertise list
}

alias adchan2 {
  if (!$1) {
    echo -a Please enter a channel.
  }
  else {
    set %adchan2 $1-
    echo -a Channel has been added to the advertise list
  }
}

alias delchan2 {
  unset %adchan2
  echo -a Channel has been deleted from the advertise list
}

alias adchan3 {
  if (!$1) {
    echo -a Please enter a channel.
  }
  else {
    set %adchan3 $1-
    echo -a Channel has been added to the advertise list
  }
}

alias delchan3 {
  unset %adchan3
  echo -a Channel has been deleted from the advertise list
}

alias channels {
  echo -a $iif(%adchan1,%adchan1,None)
  echo -a $iif(%adchan2,%adchan2,None)
  echo -a $iif(%adchan3,%adchan3,None)
}

alias goad {
  /join %adchan1
  /join %adchan2
  /join %adchan3
  /timer1 %timers /msg %adchan1 %message
  /timer2 %timers /msg %adchan2 %message
  /timer3 %timers /msg %adchan3 %message
  echo -a Joined %adchan1
  echo -a Joined %adchan2
  echo -a Joined %adchan3
}

alias stopad {
  /part %adchan1
  /part %adchan2
  /part %adchan3
  /timer1 off
  /timer2 off
  /timer3 off
  echo -a Parted %adchan1
  echo -a Parted %adchan2
  echo -a Parted %adchan3
}

alias timers {
  if (!$1) {
    echo -a Please enter the ammount of times to advertise
  }
  if (!$2) {
    echo -a Please enter how many seconds the ad should advertise.
  }
  else {
    set %timers $1 $2
    echo -a Timers have been saved
  }
}

alias delete {
  /unload -rs adsystem.mrc
  echo -a Thanks for using the Advertise System Created by JcD
}


If you see any problems let me know =).
adv script
Posted by Othello
Sunday, September 18, 2005 09:35am PDT
nice
Submit a comment
Oops! You need to login or register before you can post a comment!

ebaum's world