Public feed
#377389
on $*:text:/^[.!]setgoal */si:#: { set %goal. [ $+ [ $nick ] ] $2- | /set %goalon. [ $+ [ $nick ] ] on | notice $nick 6Your goal is now7 $2- }
on $*:text:/^[.!]goal */si:#: {
if ($2 == $null && %goalon. [ $+ [ $nick ] ] != on { /notice $nick 6You don't have a goal set atm }
if ($2 == $null && %goalon. [ $+ [ $nick ] ] == on { /notice $nick 7[6Your Goal7] 6Goal: 7 %goal. [ $+ [ $nick ] ] }
if ($2 != $null && %goalon. [ $+ [ $nick ] ] != on { /notice $nick 6 $+ $2 7doesn't have a goal set atm }
if ($2 != $null && %goalon. [ $+ [ $nick ] ] == on { /notice $nick 7[6 $+ $2 $+ 's Goal $+ 7]6 Goal: 7 %goal. [ $+ [ $2 ] ] }
}