Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- on input messages
- */
- on 1:INPUT: {
- if (!hail isin $1-) {
- if ($3 == $null) {
- set %hailed $2 | ctcp Advanced` hail $2 $chan | ctcp Declined` hail $2 $chan | ctcp Stabilized` hail $2 $chan
- //echo $chan $chan
- }
- else {
- set %hailed $2 | ctcp Advanced` hail $2 $3 | ctcp Declined` hail $2 $3 | ctcp Stabilized` hail $2 $3
- }
- }
- }
- on *:INPUT: {
- if ($1 == !highlights) {
- //msg $chan I have been highlighted %counter times!
- }
- }
- on 1:INPUT: {
- if ($snick(#,1) == $null) {
- msg # $1- | halt
- }
- else {
- if (%colors == on) {
- msg # 3 $+ $snick(#,1) $+ : 4 $+ $1- | halt
- }
- else {
- msg # $snick(#,1) $+ : $1- | halt
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement