Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- by amit
- !#6*&(!#^&*(!#%^!$!*&$^!&)$*(^!(&)*$!()$&*!$!$
- !$(*!)($*!)$*!()$*!()$*!($*!($)*
- !$(*!()$*!()$*!()$*!$)(*$!()$*(!$*
- access user and games.
- on *:text:*:%Chann:{
- if (%GameQS == Off) {
- if ($1 == !StopGame) { msg # Still growing live game not working at the moment }
- if ($1 == !Status) { msg # Still growing live game not working at the moment }
- if ($1 == !StartQS) && ($nick isin %logged) { set %GameListMax 5 | set %GameQS Adding | inc %numberOfTheGame | .timer 1 1 mode %Chann +m | .timer 1 3 msg %Chann 4T1he 3ADMIN1 12 $nick 1 Start The ( %numberOfTheGame ) Game Do !add , !del , !players | .timer 1 5 mode %Chann -m | set %GameAdmin $nick | set %LastGameTime $time }
- if ($1 == !Add) { msg # 4T1he 4G1ame 4N1ot 4R1unning 4N1ow }
- if ($1 == !Del) { msg # 4T1he 4G1ame 4N1ot 4R1unning 4N1ow }
- if ($1 == !Players) { msg # 4T1he 4G1ame 4N1ot 4R1unning 4N1ow }
- }
- on *:text:*:%Chann:{
- if (%GameQS == Adding) {
- if ($1 == !StopGame) { set %GameQS OFF | msg # The Game Number %numberOfTheGame Stop Now By $Nick | unSet %GameList }
- if ($1 == !Change) && ($2 !== $null) && ($nick isop #amit61966) && ($2 !== %GameListMax) { set %GameListMax $2 | msg # The Max Players Changed to $2 }
- if ($1 == !Change) && (%GameAdmin isin %logged) && ($2 != $null) && ($nick !isop #QsyXep-) && ($2 !== %GameListMax) { set %GameListMax $2 | msg # The Max Players Changed to $2 }
- if ($1 == !del) && ($nick !isin %GameList) { msg # 4 Y1ou 4A1re 4N1ot 4R1egister }
- if ($1 == !add) && ($nick isin %GameList) { msg # 4Y1ou 4Are 4I1n 4P1layers! }
- if ($1 == !Add) && ($nick !isin %GameList) { set %GameList $addtok(%GameList,$nick,32) | msg # 3P14layers: %GameList $numtok(%GameList,32) $+ 3/14 $+ %GameListMax }
- if ($1 == !del) && ($nick isin %GameList) { set %GameList $remove(%GameList,$nick,32) | msg # 3P14layers: %GameList $numtok(%GameList,32) $+ 3/14 $+ %GameListMax }
- if ($1 == !Status) { msg # 3P14layers: %GameList $numtok(%GameList,32) $+ 3/14 $+ %GameListMax }
- if ($1 == !Players) { msg # 3P14layers: %GameList $numtok(%GameList,32) $+ 3/14 $+ %GameListMax }
- if ($1 == !Rstart) && ($nick isop #) && ($numtok(%GameList,32) == %GameListMax) && ($numtok(%GameList,32) == 1) { set %GameQS ON | set %WhenGameStart $time | .timer 1 1 mode # +m | .timer 1 4 /msg # Okay you chose to play live still growing. Experience. | .timer 1 5 /msg # Admin is: %GameAdmin | .timer 1 6 /msg # The 3P14layer practices alone Is: %GameList | .timer 1 8 mode # $str(+v,$modespl) %GameList | .timer 1 3 /FirstQS }
- if ($1 == !Rstart) && ($nick isop #) && ($numtok(%GameList,32) == %GameListMax) && ($numtok(%GameList,32) !== 1) { set %GameQS ON | set %WhenGameStart $time | .timer 1 1 mode # +m | .timer 1 4 /msg # Okay you chose to play live still growing. Experience. | .timer 1 5 /msg # Admin is: %GameAdmin | .timer 1 6 /msg # The 3P14layers Are: %GameList $numtok(%GameList,32) $+ 3/14 $+ %GameListMax | .timer 1 8 mode # $str(+v,$modespl) %GameList | .timer 1 3 /FirstQS }
- if ($1 == !StartGame) && ($nick isop #amit61966) { msg # 4T1he 4G1ame 4I1s 4R1unning 4N1ow 4B1y 4A1dmin %GameAdmin at %LastGametime }
- }
- on *:text:*:%Chann:{
- if (%GameQS == ON) {
- if ($1 == !LastAnwser) { msg # %NickGoodAnswer על ידי %WhatSayGood התשובה האחרונה היית }
- if ($1 == !lose) && (%AnswerStatus == ON) { /Loser }
- if ($1 == What) && ($2 == The) && ($3 == Question) && (%AnswerStatus == ON) { msg # Bring me %WinnerABC Of %Category }
- if ($istok($readini(%Category $+ .ini, %Category, %WinnerABC), $1, 44)) && (%AnswerStatus == ON) { set %NickGoodAnswer $Nick | set %WhatSayGood $1 | /GoodAnswer | inc %GoodAnswer. [ $+ [ $nick ] ] | /timerA33 off | timerA63 off | .timerA93 Off | .timerA120 off | .timerA121 off }
- if ($1 == Stop) && (%StatusChoseABC == ON) { msg # Done | /TheChoseQS | /timer15 off | /timer30 off | /timer55 Off | /timer59 off | /timer60 off }
- if ($1 == !StopGame) && ($nick !isop #amit61966) && ($nick isin %GameList) && ($numtok(%GameList,32) == 1) { set %GameQS OFF | %Set %WhenGameEnd $time | msg # The Game Number %numberOfTheGame Stop Now By $Nick | msg # 3P14layers: %GameList Hope you enjoyed playing | .timer 1 3 mode # $str(-v,$modespl) %GameList | .timer 1 5 mode # -m | unSet %GameList | unset %numberOfQS | /timerA33 off | timerA63 off | .timerA93 Off | .timerA120 off | .timerA121 off | /timer15 off | /timer30 off | /timer55 Off | /timer59 off | /timer60 off }
- if ($1 == !StopGame) && ($nick !isop #amit61966) && ($nick isin %GameList) && ($numtok(%GameList,32) == 1) { set %GameQS OFF | %Set %WhenGameEnd $time | msg # The Game Number %numberOfTheGame Stop Now By $Nick | msg # 3P14layers: %GameList Hope you enjoyed playing | .timer 1 3 mode # $str(-v,$modespl) %GameList | .timer 1 5 mode # -m | unSet %GameList | usnet %numberOfQS | /timerA33 off | timerA63 off | .timerA93 Off | .timerA120 off | .timerA121 off | /timer15 off | /timer30 off | /timer55 Off | /timer59 off | /timer60 off }
- if ($1 == !StopGame) && ($nick isop #amit61966) { set %GameQS OFF | %Set %WhenGameEnd $time | msg # The Game Number %numberOfTheGame Stop Now By $Nick | msg # 3P14layers: %GameList Hope you enjoyed playing | .timer 1 3 mode # $str(-v,$modespl) %GameList | .timer 1 5 mode # -m | unSet %GameList | unset %numberOfQS | /timerA33 off | timerA63 off | .timerA93 Off | .timerA120 off | .timerA121 off | /timer15 off | /timer30 off | /timer55 Off | /timer59 off | /timer60 off }
- if ($1 == !Status) && ($numtok(%GameList,32) == 1) { msg # The Game Is Running Now. %gameList practices alone. }
- if ($1 == !Status) && ($numtok(%GameList,32) !== 1) { msg # The Game Is Running Now. %gameList ( $numtok(%GameList,32) ) They play and enjoy }
- }
- }
- }
- on *:text:*:%Chann:{
- if ($1 == !Stats!!) { /timerA33 off | timerA63 off | .timerA93 Off | .timerA120 off | .timerA121 off | /timer15 off | /timer30 off | /timer55 Off | /timer59 off | /timer60 off }
- if ($1 == !Stats) { /Ranked }
- if ($1 == !Refresh) && ($nick isop #amit61966) { unset %numberOfQS | .timer 1 6 msg %Chann The Refresh Been Done | unset %GoodAnswer* | /unset %ScorePlayer* | /unset %NamePlayer* | .timer 1 3 /Rankedecho | .timer 1 5 /scores }
- if ($1 == !Score) && ($2 != $null) && (%GoodAnswer. [ $+ [ $2 ] ]) { msg # %GoodAnswer. [ $+ [ $2 ] ] : צברת כ $2 }
- if ($1 == !Score) && ($2 = $null) && (%GoodAnswer. [ $+ [ $nick ] ]) { msg # %GoodAnswer. [ $+ [ $nick ] ] :את/ה צברת כ $nick }
- if ($1 == !Rules) { msg # מתי שאני אומר א אתם צריכים להגיד לי סטופ כאשר אתם אומרים סטופ אני בוחר אות וקטגוריה . תהנו. }
- }
- }
- alias FirstQS {
- inc %numberOfQS
- .timer 1 14 /msg %Chann Ok now you have chosen to play we'll play until you tire. When you get tired you can will write! StopGame and the game ends.
- .timer 1 16 /msg %Chann When I say א you need a stop when I say whatever you want.
- .timer 1 18 /msg %chann Success later in the game.
- .timer 1 22 /msg %Chann אוקי תיהיו מוכנים מתחילים לשחק בעוד 5 שניות . תהנו.
- .timer 1 27 /msg %Chann א
- .timer 1 28 set %StatusChoseABC ON
- }
- alias NeWQS {
- inc %numberOfQS
- .timer 1 5 /msg %Chann אוקי ממשכים לשאלה מספר ( %numberOfQS ) הבאה
- .timer 1 9 /msg %Chann א
- .timer 1 10 set %StatusChoseABC ON
- set %AnswerStatus OFF
- .timer15 1 25 /msg %Chann כבר חיכתי 15 שניות שתגידו לי סטופ
- .timer30 1 40 /msg %Chann כבר חיכתי 30 שניות שתגידו לי סטופ נשאר לכם עוד חצי דקה להגיד לי סטופ או שאני עוצר לבד .
- .timer55 1 55 /msg %Chann !!! נשאר עוד 15 שניות !!!! כבר חיכתי 45 שניות .
- .timer59 1 69 /msg %Chann לצערי הזמן עבר!!! אני בוחר לבד
- .timer60 1 69 /TheChoseQS
- }
- alias UpdateScore {
- /Rankedecho
- /scores
- .timer 1 3 msg %Chann The Update Done
- }
- alias TheChoseQS {
- set %StatusChoseABC OFF
- set %WinnerABC $gettok(%ABC,$rand(1,$numtok(%ABC,32)),32)
- set %Category $gettok(%OptionCategory,$rand(1,$numtok(%OptionCategory,32)),32)
- .timer 1 1 /msg %Chann יש לכם 2 דקות לענות על שאלתי. יהיה תשובה בעוד כ 3 שניות. 4 Loading Loading Loading 1
- .timer 1 3 /msg %Chann Selected signal is : 4 %WinnerABC 1
- .timer 1 3 /msg %chann Selected category is: 3 %Category 1
- .timer 1 3 /msg %chann Bring me %WinnerABC Of %Category
- .timerA33 1 33 /msg %chann עבר 30 שניות משאלתי . בהצלחה.
- .timerA63 1 63 /msg %chann עבד דקה מאז ששאלתי את השאלה . נשאר לכם עוד דקה .
- .timerA93 1 90 /msg %chann נשאר עוד חצי דקה .
- .timerA120 1 120 /msg %chann הזמן עבר
- .timerA121 1 120 /LoserTime
- set %AnswerStatus ON
- }
- alias GoodAnswer {
- set %AnswerStatus OFF
- msg # %NickGoodAnswer כל הכבוד ל:
- msg # %WhatSayGood היא\וא אמר:
- .timer 1 2 /scores
- /NewQS
- }
- alias Loser {
- /timerA33 off | timerA63 off | .timerA93 Off | .timerA120 off | .timerA121 off
- .timerA33 off
- .timerA63 off
- .timerA93 Off
- .timerA120 off
- .timerA121 off
- set %AnswerStatus OFF
- msg # נכנעתם לשאלתי לוזרים !!!!
- msg # מקווה שפעם הבאה תצליחו
- /NewQS
- }
- alias ClearScoresDialog {
- /unset %GoodAnswer.*
- /unset %NamePlayer*
- /unset %ScorePlayer*
- .timer 1 3 /scores
- .timer 1 5 /Rankedecho
- }
- alias LoserTime {
- /timerA33 off | timerA63 off | .timerA93 Off | .timerA120 off | .timerA121 off
- .timerA33 off
- .timerA63 off
- .timerA93 Off
- .timerA120 off
- .timerA121 off
- set %AnswerStatus OFF
- msg %chann לא ידעתם לענות על שאלתי לוזרים.
- msg %chann מקווה שפעם הבאה תצליחו
- .timer 1 3 /NewQS
- }
- alias DialogStartGame {
- set %GameListMax 5
- set %GameQS Adding
- inc %numberOfTheGame
- .timer 1 1 mode %chann +m
- .timer 1 3 msg %chann 4T1he 3ADMIN1 12 OnOne 1 Start The ( %numberOfTheGame ) Game Do !add , !del , !players
- .timer 1 5 mode %chann -m
- set %GameAdmin NoOne
- set %LastGameTime $time
- }
- alias Ranked {
- var %count = $var(%GoodAnswer.*,0)
- if ($window(@Sort,state)) { window -c @Sort }
- window -h @Sort
- while (%count) {
- aline @Sort $var(%GoodAnswer.*,%count) $var(%GoodAnswer.*,%count).value
- dec %count
- }
- filter -wwucte 2 32 @Sort @Sort *
- var %x = 1
- while (%x <= 10) {
- msg %Chann Player Name: $right($gettok($line(@Sort,%x),1,32),-5) -- Score: $gettok($line(@Sort,%x),2,32) --
- inc %x
- }
- window -c @Sort
- }
- alias Rankedecho {
- var %count = $var(%GoodAnswer.*,0)
- if ($window(@Sort,state)) { window -c @Sort }
- window -h @Sort
- while (%count) {
- aline @Sort $var(%GoodAnswer.*,%count) $var(%GoodAnswer.*,%count).value
- dec %count
- }
- filter -wwucte 2 32 @Sort @Sort *
- var %x = 1
- while (%x <= 10) {
- echo -a Player Name: $right($gettok($line(@Sort,%x),1,32),-5) -- Score: $gettok($line(@Sort,%x),2,32) --
- inc %x
- }
- window -c @Sort
- }
- alias Scores {
- var %x = 1
- while (%x <= $var(%GoodAnswer.*,0)) {
- set %NamePlayer [ $+ [ %x ] ] $gettok($var(%GoodAnswer.*,%x),2,46)
- set %ScorePlayer [ $+ [ %x ] ] $var(%GoodAnswer.*,%x).value
- inc %x
- }
- }
- on *:CONNECT:{
- set %GameQS OFF
- unset %GoodAnswer.*
- set %GameListMax 5
- unset %numberOfQS
- unSet %GameList
- set %StatusChose OFF
- set %OptionCategory Animals Country City Life growing
- %ABC א ב ג ד ה ו ז ח ט י כ ל מ נ ס ע פ צ ק ר ש ת
- set %AnswerStatus OFF
- set %StatusChoseABC OFF
- }
- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- dialog DialogOpenScore {
- title "Flora Still Alive"
- size -1 -1 253 194
- option dbu
- button "Start A Game.", 4, 0 -1 43 14
- link "http://www.snopi.com/ee/ee_frm.asp", 2, 1 131 94 8
- link "The inventor of the game: Amit", 3, 159 0 77 8
- text "Status Of The Game:", 6, 0 16 53 8
- button "Cancel", 7, 133 181 37 12,ok
- box "Score.", 10, 103 16 121 115
- text "Name Player:", 9, 105 32 33 8
- text %NamePlayer1 , 11, 140 32 42 8
- text "Name Player:", 12, 105 41 34 8
- text %NamePlayer2 , 13, 140 42 41 8
- text %ScorePlayer1 , 14, 188 32 11 8
- text %ScorePlayer2 , 15, 188 42 11 8
- text "Name Player:", 16, 104 50 33 8
- text %NamePlayer3 , 17, 140 51 41 8
- text %ScorePlayer3 , 18, 188 51 12 9
- text "Name Player:", 19, 105 59 33 8
- text %NamePlayer4 , 20, 139 60 40 8
- text %ScorePlayer4 , 21, 188 61 12 8
- text "Name Player:", 22, 104 69 33 8
- text %NamePlayer5 , 23, 140 69 40 8
- text %ScorePlayer5 , 24, 187 70 12 8
- text "Name Player:", 25, 104 77 33 8
- text %NamePlayer6 , 26, 140 78 41 8
- text %ScorePlayer6 , 27, 187 79 13 8
- text "Name Player:", 28, 104 86 33 8
- text %NamePlayer7 , 29, 140 86 39 8
- text %ScorePlayer7 , 30, 187 88 13 8
- text "Name Player:", 31, 104 93 33 8
- text %NamePlayer8 , 32, 140 93 40 8
- text %ScorePlayer8 , 33, 187 96 12 8
- text "Name Player:", 34, 104 102 34 8
- text %NamePlayer9 , 35, 140 101 42 8
- text %ScorePlayer9 , 36, 186 102 12 8
- icon 8, 2 45 78 56, C:\ScreenShot\download.jpg, 0
- text "Refresh:", 37, 1 29 24 8
- radio "Not.", 38, 31 28 22 10
- radio "Ok.", 39, 54 28 25 10
- text "Number", 40, 110 22 21 8
- text "Name Player:", 41, 104 109 34 8
- text %NamePlayer10 , 42, 140 109 42 8
- text %ScorePlayer10 , 43, 187 109 13 8
- text "Name Player:", 44, 140 21 41 8
- text "Score", 45, 186 21 25 8
- button "Update Scores", 46, 169 118 39 12
- button "Clear Scores", 47, 116 118 37 12
- text %GameQs , 5, 54 16 31 8
- text "Admin Bot.", 48, 143 134 42 8
- edit "", 49, 147 150 50 10
- button "Set Crew Chan", 50, 101 149 44 12
- button "Set Master Nick", 51, 100 161 45 12
- edit "", 52, 146 161 50 10
- menu "Item1", 1
- }
- alias DialogOpenScoreClose { dialog -x DialogOpenScore DialogOpenScore }
- alias DialogOpenScore { dialog -m DialogOpenScore DialogOpenScore }
- on *:dialog:DialogOpenScore:*:*:{
- if ($devent == sclick) {
- if ($did == 4) && (%GameQS !== OFF) { noop $input(The Game Aldeary Run.,o,Error) }
- if ($did == 4) && (%GameQS == OFF) { /DialogStartGame }
- if ($did == 46) { /UpdateScore | /DialogOpenScore | /DialogOpenScoreClose | /DialogOpenScore }
- if ($did == 47) { /ClearScoresDialog | /DialogOpenScoreClose | /DialogOpenScore }
- if ($did == 50) { set %CrewChan $did(49) }
- if ($did == 51) { set %master $did(52) }
- }
- while (%numberOfTheGame <0) {
- alias admins ,stop !
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement