home *** CD-ROM | disk | FTP | other *** search
- on InitFace ChannelList
- global custchecks, chancast, chanact
- if count(ChannelList) = 0 then
- set custchecks to 0
- exit
- end if
- set fish to 1
- set chancast to []
- set chanact to []
- set custchecks to count(ChannelList) / 2
- repeat with xxx = 1 to custchecks
- set kipper to getAt(ChannelList, fish)
- set karp to getAt(ChannelList, fish + 1)
- set fish to fish + 2
- set epp to the castNum of sprite kipper
- append(chancast, epp)
- append(chanact, karp)
- end repeat
- end
-
- on UseFace
- global custchecks, chancast, chanact, curnorm, curstate
- set changeto to curstate
- if custchecks > 0 then
- set mighty to the mouseCast
- repeat with xxx = 1 to custchecks
- set ack to getAt(chancast, xxx)
- if ack = mighty then
- set pbsst to getAt(chanact, xxx)
- set changeto to pbsst
- end if
- end repeat
- if changeto = -1 then
- cursor(curnorm)
- else
- cursor([changeto, changeto + 1])
- end if
- end if
- end
-