Jump to content

Archived

This topic is now archived and is closed to further replies.

chain

!goal/!reqs

Recommended Posts

  • Administrators

>on *:TEXT:!setreqs*:#: {   if ($nick isop $chan) || ($nick ishop $chan) {     if ($2- == $null) {     notice $nick Please submit requirments }     else {        /set %reqs [ $+ [ $chan ] ] $2-       msg $chan The requirments have been updated! to see them type !reqs to see    }   } }on *:TEXT:!reqs*:#: {   if (%reqs [ $+ [ $chan ] ] == $null) {   /notice $nick There are no requirments set at the moment }   else {   notice $nick The requirments for $chan are: %reqs [ $+ [ $chan ] ] }} 

 

>on *:TEXT:!setgoal*:#: { if ($2 == $null) {   notice $nick 12Please submit a goal }   else {      /set %goal [ $+ [ $nick ] ] $2-     notice $nick 12Goal Updated.  Goal(s):4 %goal [ $+ [ $nick ] ]  } }on *:TEXT:!viewgoal*:#: {   if (%goal [ $+ [ $nick ] ] == $null) {   /notice $nick 12You havn't set a goal yet!  Type 4!goal12 goal to set one }   else {   notice $nick 12Your goal is:4 %goal [ $+ [ $nick ] ] }} on *:TEXT:!goalreached*:#: {  if (%goal [ $+ [ $nick ] ] == $null) {  /notice $nick 12You havn't set a goal yet!  Type 4!goal12 goal to set one }  else {    notice $nick 12Congratulation on acheiving your goal of4 %goal [ $+ [ $nick ] ]  unset %goal [ $+ [ $nick ] ] }}on *:TEXT:!addgoal*:#:{  if (%goal [ $+ [ $nick ] ] == $null) {  /notice $nick 12You havn't set a goal yet!  Type 4!goal12 goal to set one }  else {    set %goal [ $+ [ $nick ] ] %goal [ $+ [ $nick ] ] $2-   notice $nick 12Goal Updated. Goal(s):4 %goal [ $+ [ $nick ] ] }}

 

added %unset %goal [ $+ [ $nick ] ] wen goal is reached and !addgoal to add more goals on. By: Metallica
Link to comment
Share on other sites



×
×
  • Create New...