Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (o7 isin $mid($1-, 0, 2)) {
- if (%saluteState == 0) {
- set %saluteState 1
- set %saluteFirst $nick
- .timersaluteReset 1 10 set %saluteState 0
- }
- else if (%saluteState == 1 && $nick != %saluteFirst) {
- set %saluteState 0
- set %tempp % [ $+ saluteStats. $+ [ $nick ] $+ . $+ [ %saluteFirst ] ]
- if (%tempp == $null || %tempp == 0) {
- echo wat
- set %tempp % [ $+ saluteStats. $+ [ %saluteFirst ] $+ . $+ [ $nick ] ]
- set % [ $+ saluteStats. $+ [ %saluteFirst ] $+ . $+ [ $nick ] ] [ $calc(%tempp + 1) ]
- }
- else {
- set % [ $+ saluteStats. $+ [ $nick ] $+ . $+ [ %saluteFirst ] ] [ $calc(%tempp + 1) ]
- }
- set %notation th
- if ($calc(%tempp + 1) == 1) {
- set %notation st
- }
- else if ($calc(%tempp + 1) == 2) {
- set %notation nd
- }
- else if ($calc(%tempp + 1) == 3) {
- set %notation rd
- }
- msg $chan %saluteFirst o7 * o7 $nick - $calc(%tempp + 1) $+ %notation time
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement