Post reply

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.
Name:
Email:
Subject:
Message icon:

Verification:

shortcuts: hit alt+s to submit/post or alt+p to preview


Topic Summary

Posted by: Glow
« on: February 13, 2011, 06:20:37 pm »

Ty^^
Posted by: King_Hual
« on: February 13, 2011, 06:08:40 pm »

Then try this:
Code: [Select]
on *:text:!level:#:{
  if (%level == on) {
    notice $nick The menu has already been shown. Level someone or say !slevel.
  }
  else {
    msg $chan 0,4You can set the following levels:
    msg $chan  $+ $r(1,14) $+ !levelv for +v(+)
    msg $chan  $+ $r(1,14) $+ !levelh for +h(%)
    msg $chan  $+ $r(1,14) $+ !levelo for +o(@)
    msg $chan  $+ $r(1,14) $+ !levela for +a(&)
    msg $chan  $+ $r(1,14) $+ !levelq for +q(~)
    msg $chan  $+ $r(1,14) $+ !slevel to stop using this command.
    set %user $nick
    set %level on
  }
}

on *:TEXT:!levelv*:#: {
  if (%level == on) && ($nick == %user) {
    mode $chan +v $2
    unset %user
    set %level off
  }
}


on *:TEXT:!levelh*:#: {
  if (%level == on) && ($nick == %user) {
    mode $chan +h $2
    unset %user
    set %level off
  }
}


on *:TEXT:!levelo*:#: {
  if (%level == on) && ($nick == %user) {
    mode $chan +o $$2
    unset %user
    set %level off
  }
}


on *:TEXT:!levela*:#: {
  if (%level == on) && ($nick == %user) {
    mode $chan +a $2
    unset %user
    set %level off
  }
}


on *:TEXT:!levelq*:#: {
  if (%level == on) && ($nick == %user) {
    mode $chan +q $2
    unset %user
    set %level off
  }
}


on *:TEXT:!slevel*:#: {
  if (%level == on) && ($nick == %user) {
    notice %user Succesfully stopped leveling!
    unset %user
    set %level off
  }
}
Posted by: Glow
« on: February 13, 2011, 05:50:20 pm »

Yes I did.
Posted by: King_Hual
« on: February 13, 2011, 05:07:37 pm »

Did you define %level off by typing %level off in the Variables tab ?
Posted by: Glow
« on: February 13, 2011, 11:44:42 am »

So I was bored and decided to make a simple and useless level menu^^. But now its not working.. and Im not the one to stop when I started something so:

Code: [Select]
on *:TEXT:!level:#: {
if (%level == on) {
msg $chan The menu has already been shown. Level someone or say !slevel.
else {
msg $chan You can set the following levels:
timer 1 1 msg %chan You can set the following levels:
timer 1 2 msg %chan !levelv for +v(+)
timer 1 3 msg %chan !levelh for +h(%)
timer 1 4 msg %chan !levelo for +o(@)
timer 1 5 msg %chan !levela for +a(&)
timer 1 6 msg %chan !levelq for +q(~)
timer 1 7 msg %chan !slevel to stop using this command.
set $nick %user
set %level on
}
}
}

on *:TEXT:!levelv*:#: {
if (%level == on) && ($nick == %user) {
mode $chan +v $2
unset %user
set %level off
}
}


on *:TEXT:!levelh*:#: {
if (%level == on) && ($nick == %user) {
mode $chan +h $2
unset %user
set %level off
}
}


on *:TEXT:!levelo*:#: {
if (%level == on) && ($nick == %user) {
mode $chan +o $$2
unset %user
set %level off
}
}


on *:TEXT:!levela*:#: {
if (%level == on) && ($nick == %user) {
mode $chan +a $2
unset %user
set %level off
}
}


on *:TEXT:!levelq*:#: {
if (%level == on) && ($nick == %user) {
mode $chan +q $2
unset %user
set %level off
}
}


on *:TEXT:!slevel*:#: {
if (%level == on) && ($nick == %user) {
Succesfully stopped leveling!
unset %user
set %level off
}
}

If you know the problem could you please post it?^^

Glow