Ok done it's at http://www.hawkee.com/snippet/7925/
I might be able to code some games for you but i am back at university in 2 weeks so give them to me quick :P
(23:56:17) <~RapsoTired> !sgame (23:56:17) <~R-Bot> The game has been started, type !Roll to play (23:56:18) <~R-Bot> Rapso
Tired it's your turn
(23:56:21) <~RapsoTired> !roll (23:56:21) <~R-Bot> Rapso
Tired rolled 4 & 6 so you move 10 spaces
(23:56:21) <~R-Bot> You landed on "Visiting Jail"
(23:56:21) <~R-Bot> kip it's your turn
(23:56:21) <@kip> !roll
(23:56:22) <~R-Bot> kip rolled 3 & 4 so you move 7 spaces
(23:56:22) <~R-Bot> You landed on "Chance"
(23:56:22) <~R-Bot> kip Bank Pays You Dividend of £50
(23:56:22) <~R-Bot> kip you now have £1550
(23:56:22) <~R-Bot> Soadafk it's your turn (23:56:29) <@Soad
afk> !roll
(23:56:29) <~R-Bot> Soadafk rolled 4 & 4 so you move 8 spaces (23:56:30) <~R-Bot> You landed on "Euston Road" Price: £100 (23:56:30) <~R-Bot> Soad
afk you get to roll again
(23:56:34) <@Soadafk> yihaa (23:56:37) <@Soad
afk> !roll
working fine for me :x it does need reprogrammed though i made it before i learnt how to code properly.
I can't get this to find any of my logs. I go into my mIRC program file and the logs are there but this log viewer won't show any of the logs. Is it something I did wrong or is it something else?
You had the same problem as me but i edited it abit i will show you what i have.
alias loader {
set %logpath C:\Users\Alex Rapso\AppData\Roaming\TraScript\logs\omerta\
return $findfile(%logpath,*.log,0,1,aline -l @Log $nopath($1-))
}
alias viewer {
window -Skal15 @Log 300 150 500 300 @Log Tahoma 12 | titlebar @Log Viewer
aline 1 @Log 0,10 Logs ! $loader Log(s) Were Found
aline 1 @Log -
if ($1 != $null) { seefile 0 $1- }
}
alias seefile {
if ( $isfile($2-) ) {
loadbuf -rp @Log $+(",$2-,")
if ( $1 == 0 ) { sline @Logs 10 | sline @Log 10 }
else {
sline @Log $calc($1 + 2) | sline @Log $calc($1 + 2)
rline @Log $1 $line(@Log,$1)
}
if ( $fline(@Log,$nopath($2-),1,1) ) { sline -l @Log $ifmatch }
}
}
on *:signal:removefile: { .remove $+(",$3-,") | dline -l $1 $2 }
menu @Log {
dclick: { if ( $1 ) { seefile 1 $+(%logpath,$line(@Log,$1,1)) } }
-
Update: { window -c @Log | viewer }
-
Close: { window -c @Log }
-
}
menu * {
Log Viewer:viewer
}
i changed the operator $logdir to variable %logpath and set the path to my log folder and changed all the other $logdir operators to %logpath and it should work hope i helped :)
(17:26:24) <~Rapso> !bet
(17:26:24) <~Zach> Rapso added to this round 3 more player required!
(17:26:34) <~Rapso> !bet
(17:26:35) <~Zach> Rapso added to this round 2 more player required!
(17:26:40) <~Rapso> !bet
(17:26:41) <~Zach> Rapso added to this round 1 more player required!
(17:26:42) <~Rapso> !bet
(17:26:43) <~Zach> Game full.. Game now starting.
(17:26:43) ~Zach Draws a(n) queen and places it infront of Rapso
(17:26:43) ~Zach Draws a(n) 10 and places it infront of Rapso
(17:26:44) ~Zach Draws a(n) 3 and places it infront of Rapso
(17:26:44) ~Zach Draws a(n) king and places it infront of Rapso
(17:26:44) ~Zach Draws a(n) king and places it infront of Rapso
(17:26:44) ~Zach Draws a(n) 8 and places it infront of Rapso
(17:26:44) ~Zach Draws a(n) 5 and places it infront of Rapso
(17:26:44) ~Zach Draws a(n) 10 and places it infront of Rapso
(17:26:44) * ~Zach Draws 2 cards for himself!!
(17:26:44) <~Zach> Rapso has 0
(17:26:45) <~Zach> Rapso has 18
(17:26:46) <~Zach> Rapso has 8
can play as yourself 3 times
hope you can fix this :)
I got bored and fixed it :x
#include <iostream>
#include <iomanip>
#include <cmath>
using namespace std;
void instructUser()
{
cout << " " <<endl;
cout << " ***************************************************************************" <<endl;
cout << " * This program takes your input and selected mathematical operator *" <<endl;
cout << " * and returns the answer to the screen. If an illegal operator is *" << endl;
cout << " * selected, an error message will be displayed. Be careful which *" <<endl;
cout << " * operator you select because the program depends on you for input. *" <<endl;
cout << " * The only error check function it has, is for unacceptable opreators. *" <<endl;
cout << " * Acceptable operators are : (+ , - , / , * ,^,c). The character c sets *" <<endl;
cout << " * the value stored to ZERO. Enter Q to exit. ENJOY YOUR PROGRAM !!!!!! *" <<endl;
cout << " ***************************************************************************" <<endl;
cout << " " <<endl;
}
int main()
{
instructUser();
double displayedVal;
double newEntry;
char command_character = 'C';
displayedVal = 0.0;
cout << " Enter a number: " ;
cin >> displayedVal;
cout << " Enter accepted Operator: " ;
cin >> command_character;
while (command_character != 'Q' || command_character != 'q')
{
switch(command_character)
{
case 'c':
case 'C': displayedVal = 0.0;
break;
case '+': cout << " Enter a number: ";
cin >> newEntry;
displayedVal = displayedVal + newEntry;
break;
case '-': cout << " Enter a number: ";
cin >> newEntry;
displayedVal = displayedVal - newEntry;
break;
case '*': cout << " Enter a number: ";
cin >> newEntry;
displayedVal = displayedVal * newEntry;
break;
case '/': cout << " Enter a number: ";
cin >> newEntry;
do if (newEntry == 0)
{
cout << " You cannot devide something by 0" << endl;
cout << " Enter a number: ";
cin >> newEntry;
} while (newEntry == 0);
displayedVal = displayedVal / newEntry;
break;
case '^': cout << " Enter a number: ";
cin >> newEntry;
displayedVal = pow (displayedVal,newEntry);
break;
default : cout << " Unacceptable Operator(" << command_character << ")" << endl;
}
cout << " The result so far is: " <<displayedVal<< endl;
cout << " Enter Operator: ";
cin >> command_character;
}
system ("pause");
return 0;
}