iepic
Posts : 12 Join date : 2010-08-15
| Subject: iEpic's Coder App Sun Aug 15, 2010 6:05 am | |
| IGN: iEpic Name: Billy Age: 16 Coder EXP: coded for WarfareMS (shut down tho), I can do websites and java Favorite coding: NPCs Play Hours a Day: as much as i can xP but when school starts might be like 3-4 hours a day and 5+ on weekends Reason: I like coding/programming and I wanna get better/learn more oh yea showing work..... ummm dont really know how i should show my work.... how bout...: - Code:
-
//this is the meteorite 2 (2050015.js) var status = 0;
function start() { status = -1; action(1, 0, 0); }
function action(mode, type, selection) { if (mode == -1) cm.dispose(); else { if (mode == 0 && status == 0) cm.dispose(); if (mode == 1) status++; else status--; if (status == 0) { cm.sendSimple("Hey, I'm the Item/Meso Converter ^^. One Billion mesos is equal to one coca-cola card
\r\n#L1# I wanna change #b#v4000213##k for 1bil mesos!#l\r\n\#L2# I wanna change 1bil mesos for #b#v4000213##k!#l"); } else if (status == 1) { if (selection == 1) { if(cm.haveItem(4000213)) { cm.gainMeso(1000000000); cm.gainItem(4000213,-1); cm.sendOk("Thanks!"); } else cm.sendOk("Sorry, you don't have a #b#v4000213##k!"); cm.dispose(); } else if (selection == 2) { if(cm.getMeso() >= 1000000000) { cm.gainMeso(-1000000000); cm.gainItem(4000213,1); cm.sendOk("Thanks!"); } else cm.sendOk("Sorry, you don't have enough mesos!"); cm.dispose(); } else cm.sendOk("Fine. -huff-"); } } }
that script was for the meteorite 2 in WarfareMS we used coca-cola cards (4000213) instead of the normal maple leaves why? (cuase the owner was a 13 yr old kid that knew nothing about coding.....but he was stubborn and wanted the make it cola cards to make me work D:)
Last edited by iepic on Sun Aug 15, 2010 6:10 am; edited 1 time in total (Reason for editing : added work? i guess? o.o) | |
|
Billy
Posts : 9 Join date : 2010-08-09
| Subject: Re: iEpic's Coder App Sun Aug 15, 2010 5:54 pm | |
| why did you copy my name =O | |
|
Rawrx3
Posts : 36 Join date : 2010-08-05 Location : Montreal
| Subject: Re: iEpic's Coder App Sun Aug 15, 2010 11:01 pm | |
| | |
|
Cakey
Posts : 64 Join date : 2010-08-01 Age : 28 Location : England
| Subject: Re: iEpic's Coder App Tue Aug 17, 2010 6:23 pm | |
| This is really good, BMS lacks a few Coders, so I'm sure JP'll let you join our team of amazingness. And yes, that might have had a mixture of sarcasm in... cough. | |
|
iepic
Posts : 12 Join date : 2010-08-15
| Subject: Re: iEpic's Coder App Tue Aug 17, 2010 6:25 pm | |
| lol billy...i was born with this name xP and btw sorry but i was away on vacation and got back today....so i haven't been on much (i logged on only once and that was just to make my character xD) anyway...ill be on more now | |
|
Sponsored content
| Subject: Re: iEpic's Coder App | |
| |
|