0 Members and 1 Guest are viewing this topic.
<command><in>!dice game</in><out>This game is really simple use the triggers !dice & !hold to play, u need to kep the score below the randum number the bot generates,Good luck</out></command><command type="script"> <in>!dice</in> <out type="sleep"extdata="150"></out> <out type="push"extdata="hold"condition="1"lvalue="%TRIGGER%"rvalue="!hold">1</out> <out condition="1"lvalue="%TRIGGER%"rvalue="!hold">#c8#Holding..</out> <out type="push"extdata="player"condition="0"lvalue="$running$"rvalue="1">%RAWNAME%</out> <out type="push"extdata="penalty">HA HA HA Ha Ha Ha ha ha ha$player$ you really are shit!!! =D</out> <out type="goto"extdata="7"condition="0"lvalue="$running$"rvalue="1"></out> <out type="push"extdata="diceresultthree">$diceresult$</out> <out type="push"extdata="diceresultfour">$diceresulttwo$</out> <out type="push"extdata="dicegraphthree">$dicegraph$</out> <out type="push"extdata="dicegraphfour">$dicegraphtwo$</out> <out type="push"extdata="resulttwo">$result$</out> <out type="goto"extdata="4"></out> <out type="push"extdata="target">%RANDOMNUM[13]%</out> <out type="push"extdata="target"><operator type="+"lvalue="$target$"rvalue="5"/></out> <out>#c8#Target value is #c1#$target$#c8#!!</out> <out type="push"extdata="firstdicedone">0</out> <out type="push"extdata="diceresult">%RANDOMNUM[5]%</out> <out type="push"extdata="diceresult"><operator type="++"lvalue="$diceresult$"/></out> <out type="push"extdata="dicegraph"condition="1"lvalue="$diceresult$"rvalue="1">#c9#( #c1#· #c9#)</out> <out type="push"extdata="dicegraph"condition="1"lvalue="$diceresult$"rvalue="2">#c9#( #c1#: #c9#)</out> <out type="push"extdata="dicegraph"condition="1"lvalue="$diceresult$"rvalue="3">#c9#(#c1#: ·#c9#)</out> <out type="push"extdata="dicegraph"condition="1"lvalue="$diceresult$"rvalue="4">#c9#(#c1#: :#c9#)</out> <out type="push"extdata="dicegraph"condition="1"lvalue="$diceresult$"rvalue="5">#c9#(#c1#:·:#c9#)</out> <out type="push"extdata="dicegraph"condition="1"lvalue="$diceresult$"rvalue="6">#c9#(#c1#:::#c9#)</out> <out type="goto"extdata="5"condition="1"lvalue="$firstdicedone$"rvalue="1"></out> <out type="push"extdata="firstdicedone">1</out> <out type="push"extdata="diceresulttwo">$diceresult$</out> <out type="push"extdata="dicegraphtwo">$dicegraph$</out> <out type="goto"extdata="-12"condition="1"lvalue="$firstdicedone$"rvalue="1"></out> <out type="push"extdata="result"><operator type="+"lvalue="$diceresult$"rvalue="$diceresulttwo$"/></out> <out type="push"extdata="totalresult"condition="1"lvalue="$running$"rvalue="1"><operator type="+"lvalue="$result$"rvalue="$resulttwo$"/></out> <out type="goto"extdata="20"condition="1"lvalue="$hold$"rvalue="1"></out> <out type="goto"extdata="10"condition="1"lvalue="$running$"rvalue="1"></out> <out delay="200">$dicegraph$ #c8#+ $dicegraphtwo$ #c8#= #c1#$result$</out> <out condition=">"lvalue="$result$"rvalue="$target$">#c8#BUSTED!!!</out> <out condition=">"lvalue="$result$"rvalue="$target$"delay="1000">$penalty$</out> <out type="goto"extdata="14"condition=">"lvalue="$result$"rvalue="$target$"></out> <out condition="1"lvalue="$result$"rvalue="$target$">#c8#YAYYYYYYYYYYYYYY!!!!!</out> <out type="goto"extdata="12"condition="1"lvalue="$result$"rvalue="$target$"></out> <out>#c8#Type #c1#!dice #c8#to roll again or #c1#!hold #c8#to settle..</out> <out type="push"extdata="running">1</out> <out type="goto"extdata="9"></out> <out delay="200">$dicegraphthree$ #c8#+ $dicegraphfour$ #c8#+ $dicegraph$ #c8#+ $dicegraphtwo$ #c8#= #c1#$totalresult$#c8#/#c1#$target$</out> <out type="push"extdata="running">0</out> <out condition=">"lvalue="$totalresult$"rvalue="$target$">#c8#BUSTED!!!</out> <out condition=">"lvalue="$totalresult$"rvalue="$target$"delay="1000">$penalty$</out> <out type="goto"extdata="4"condition=">"lvalue="$totalresult$"rvalue="$target$"></out> <out condition="1"lvalue="$totalresult$"rvalue="$target$">#c8#YAYYYYYYYYYYYYYY!!!!!</out> <out type="goto"extdata="2"condition="1"lvalue="$totalresult$"rvalue="$target$"></out> <out>#c8#Aw well. You can always try again #c1#=)</out> <out type="break"></out> <out>#c8#Your next roll would have been</out> <out>$dicegraphthree$ #c8#+ $dicegraphfour$ #c8#+ $dicegraph$ #c8#+ $dicegraphtwo$ #c8#= #c1#$totalresult$</out> <out condition=">"lvalue="$totalresult$"rvalue="$target$">#c8#You were right to hold!! Well done! #c1#=)</out> <out condition="1"lvalue="$totalresult$"rvalue="$target$">#c8#BUSTED!!! You would have WON!!</out> <out condition="1"lvalue="$totalresult$"rvalue="$target$"delay="1000">$penalty$</out> <out condition="<"lvalue="$totalresult$"rvalue="$target$">#c8#Bad luck =\ You could have rolled again..</out> <out type="push"extdata="hold">0</out> <out type="push"extdata="running">0</out> <out condition="1"lvalue="%RANDOMNUM[5]%"rvalue="0"></out> <out type="break"></out> </command>