Currently Posted May 23, 2014 Group: Members Topic Count: 162 Topics Per Day: 0.03 Content Count: 313 Reputation: 1 Joined: 01/22/12 Last Seen: November 17, 2023 Share Posted May 23, 2014 comodo,191,157,4 script Event Kafra 803,{ set @npc$,"[Event Kafra]"; if (strcharinfo(0)=="x") goto L_givegm; if ($winner$ == strcharinfo(0) && $@wincheck == 1 ) { mes @npc$; mes "Welcome to x Event Prize Kafra."; next; mes "There is your prize!"; rentitem @rentalid,@rentaltime; announce ""+$winner$+" claimed the prize! Have fun with your reward!", bc_all; set $winner$,""; set $@wincheck, 0; close; } else { mes @npc$; mes "You are not authorized."; close; L_givegm: if ($@wincheck == 1) { mes @npc$; mes "Reward not received yet. Wait until the person gets the reward."; menu "Reset reward?",-; next; mes @npc$; mes "Done."; set $winner$,""; set $@wincheck, 0; next; announce "A Game Master reset the event prize reward.", bc_all; close; } else { mes @npc$; mes "x rental headgear / item."; menu "Give Prize?",-; mes "Type the winner's name:"; input $winner$; next; mes "Type the rental ID."; input @rentalid; next; mes "Type the rental time."; input @rentaltime; next; announce "Dear: "+$winner$+", you can now claim the prize in the x Event Kafra.", bc_all; next; set $@wincheck, 1; close; } } } The script works but it does not give any headgear or the reward.. Quote Link to comment Share on other sites More sharing options...
Emistry Posted May 23, 2014 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2372 Joined: 10/28/11 Last Seen: 12 hours ago Share Posted May 23, 2014 you're using wrong variable type.. chang eall these @rentalid @rentaltime to .rentalid .rentaltime 1 Quote Link to comment Share on other sites More sharing options...
Question
Currently
The script works but it does not give any headgear or the reward..
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.