• You've discovered RedGuides 📕 an EverQuest multi-boxing community 🛡️🧙🗡️. We want you to play several EQ characters at once, come join us and say hello! 👋
  • IS THIS SITE UGLY? Change the look. To dismiss this notice, click the X --->

Casino Mac (1 Viewer)

elmokev

New member
Joined
Mar 17, 2005
RedCents
20¢
Is there a macro for the casino to like, keep handing in tokens til you get a gold ticket, while deleting every other item you get? Would save me 5 hours after raid handing in hehe.
 
Rich (BB code):
#event noitem "#*#Could not send notification to #*#" 
#event noitem "#*#Invalid item slot #*#"

Sub Main

:loop

/ctrl /itemnotify ${FindItem[King's Court Token].InvSlot} leftmouseup
/doevents
/delay 5
/click left target
/doevents
/notify GiveWnd GVW_Give_Button leftmouseup
/doevents
/delay 5 
/if (!$Cursor.Name[Gold Ticket]) {
/destroy
 } else {
/echo You Win! Ending Macro
/endmac
}
/goto :loop
/return

Sub event_noitem

/echo You ran out of items! ending macro
/endmac
/return
 
macro doesn't seem to work Cade =/ gets to trade window with 1 token in and says ~

Failed to parse /if condition '(!$Cursor.Name[Gold Ticket])', non-numeric encountered.
 
Personally I'd make it:
Rich (BB code):
 /if ((!${Cursor.Name[Gold Ticket]}) && (!${Cursor.Name[King's Court Token]})) {
/destroy
} else {
You WIN!
/endmac
}
/return


I'd also add ( ) around all the ${ } stuff
 
Something like that would work.

Rich (BB code):
#event noitem "#*#Could not send notification to #*#" 
#event noitem "#*#Invalid item slot #*#"

Sub Main

:loop
/if (${Cursor.Name[Gold Ticket]}) {
/echo WINNER!
/endmac
}
/ctrl /itemnotify (${FindItem[King's Court Token].InvSlot}) leftmouseup
/doevents
/delay 5
/click left target
/doevents
/notify GiveWnd GVW_Give_Button leftmouseup
/doevents
/delay 5 
/if ((!$Cursor.Name[Gold Ticket]}) && (!${Cursor.Name[King's Court Token]})) {
/destroy
 } else {
/if (${Cursor.Name[King's Court Token]}) { 
/autoinv
/return
}
}
/goto :loop
/return

Sub event_noitem

/echo You ran out of items! ending macro
/endmac
/return
 
Last one doesnt seem to work =/ I added the line you suggested into your original one and it works, but doesn't destroy any items and doesn't auto put tokens won into inventory, so freezes after like 1 or 2 hand ins.
 
Try this then :p

Rich (BB code):
#event noitem "#*#Could not send notification to #*#" 
#event noitem "#*#Invalid item slot #*#"

Sub Main

:loop

/ctrl /itemnotify (${FindItem[King's Court Token].InvSlot}) leftmouseup
/doevents
/delay 5
/click left target
/doevents
/notify GiveWnd GVW_Give_Button leftmouseup
/doevents
/delay 5 

/if (${Cursor.Name[Gold Ticket]}) {
/autoinv
/echo You Win!
/endmac
}

/if (${Cursor.Name[King's Court Token]}) {
/autoinv

/if (!${Cursor.Name[King's Court Token]}) {
/if (!${Cursor.Name[Gold Ticket]}) {
/destroy
}
}
/goto :loop
/return

Sub event_noitems

/echo You ran out of items! Ending macro
/endmac
/return
 
Casino Mac

Users who are viewing this thread

Back
Top