alias advertise2 {
msg #chan $read(advertise.txt)
msg #chan $read(advertise.txt)
Comment: The Upper part is not working and i dont know why######
If i make it this way...
msg #chan my Text to be posted
msg #chan my Text to be posted - ...it works
}
on *:TEXT:advon:?: {
if (!%checkzwei) {
timerzwei 0 1200 advertise2 - I also would like to put the Timer direktly in the msg Text, so i can set different Times and get not G-lined
set %checkzwei 2
}
else {
notice SOmeNickName Time is already started
}
}
}
on *:TEXT:advoff:?: {
if ($nick == Some NickName) {
timerzwei off
unset %checkzwei
timer 1 3 notice SomeNickName Timer off
}
else { notice $nick U are not allowed to use this Command
}
}