| 1 | ; Prowl PUSH Addon v0.2 (by DerFlash) |
|---|
| 2 | ; |
|---|
| 3 | ; Changes: |
|---|
| 4 | ; v0.2: |
|---|
| 5 | ; * Added '-O /dev/null' again to prevent wget from spamming into the psyBNC directory. |
|---|
| 6 | |
|---|
| 7 | ; Prowl - query & nick-alert (if user is on AND (its a pm OR it contains the usernick)) |
|---|
| 8 | server PRIVMSG * * * if [[ $USERON == 0 ]] && ( [[ $P3 == $USERNICK ]] || [[ `echo $CONTENT | grep -ci $USERNICK` != 0 ]] ); then FC1=$(echo "$NICK @ $(if [[ $P3 == $USERNICK ]]; then echo 'IRC'; else echo $P3; fi )" | perl -MURI::Escape -lne 'print uri_escape($_)'); FC2=$(echo "$CONTENT" | perl -MURI::Escape -lne 'print uri_escape($_)'); wget -q -O /dev/null --no-check-certificate "https://prowl.weks.net/publicapi/add?apikey=01c3f91cde3b7e477d5403473efc76456bef6724&priority=0&application=$FC1&description=$FC2+http%3A%2F%2Fopen.roomsapp.mobi" > /dev/null; fi |
|---|
| 9 | |
|---|
| 10 | ; Prowl - word highlight |
|---|
| 11 | server PRIVMSG * #gamingjunkies "*s0i0nPhoney*" if [[ $USERON == 0 ]]; then FC1=$(echo "$NICK @ $CHANNEL" | perl -MURI::Escape -lne 'print uri_escape($_)'); FC2=$(echo "$CONTENT" | perl -MURI::Escape -lne 'print uri_escape($_)'); wget -q -O /dev/null --no-check-certificate "https://prowl.weks.net/publicapi/add?apikey=01c3f91cde3b7e477d5403473efc76456bef6724&priority=0&application=$FC1&description=$FC2+http%3A%2F%2Fopen.roomsapp.mobi" > /dev/null; fi |
|---|